Create Sandbox C# [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
are there any tutorials out there on how to create a sandbox using C#?
I would like to personalize my own one, thanks

Study up on using AppDomains. Here's some code examples.

We just recently used the MonoSandbox for Security reasons.
I don't know if it works with standard Microsoft's CLR, or if it is specific to the Mono implementation, but I think it works better than just a custom sanbdbox using AppDomains, and since the source code is open you can probably find a way to make it work for you.
The best documentation I have found for the MonoSandbox is here: http://www.mono-project.com/MonoSandbox

I would start by looking at Code Access Security.

Related

How to make the currency for an economy bot? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am trying to make an economy bot for discord using C#. I am confused about how I am going to do it. I might have to use databases but in that case how do I make it so it makes a new line for every user that has used the command. Any help would be nice, thanks.
You need to use a database. If this is your first time using databases, I highly recommened SQLite. You should also see video tutorials such as this one.
Once you have familiarised yourself with a SQLite databases then you will be able to answer your own question extremely easily. It is not difficult and requires some very simple logic. Attempt it yourself first and if you are still stuck reply to this answer.
Consider viewing this W3Schools resource when you are comfortable with the basics.

Check if Hard Disk uses RAID [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a requirement wherein I need to check if the hard disk isn't RAID before turning on a feature that encrypts the hard disk. Is there a built-in class in C# that would let me find this? I looked at the MSDN-DriveInfo class and it does not seem to have that information.
Not sure if you can check if a hard drive is RAID, I am pretty sure you can't because the hard drive just looks like one physical drive, but I would look into Windows Management Instrumentation (WMI), the .NET libraries are System.Management and System.Management.Instrumentation, here is an article that demos usage:
http://www.codeguru.com/columns/vb/getting-hard-disk-information-with-wmi-and-visual-studio-2012.htm
If you are using WMI, you can test BusType of MSFT_Disk. I am not sure how reliable it is though.

How do you make a license for your programs? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
As the title says "How do you make a license for your programs?"
Do you use a plugin or do you make your own? I've looked the whole day for finding resulutions, but didnt found one yet.
I basically want a normal license for my program:
A textbox where you type your license "XXXX-XXXX-XXXX-XXXX"
Is it possible to make this yourself, or should i use a website for it? If i should use a website, which do you recomend then?
It is rather simple to implement a simple license yourself BUT it will no be very save.
Because C# is transformed into IL, everybody can decompile your code easily and work around your license checks. It is very hard to build a license mechanism in a save way, so you should resort to some existing, proven solution.

Remote desktop via web browser using C#/ASP.NET [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm planning to create a VNC that can be view in browser. The inspiration for this code is Thinvnc but i would like to implement it using C# .NET . Is it possible to create such an application? what are the components that are going to use? thank you in advance ^_^
It is possible, at least for VNC. Well, I'd say it would be better to go with the java on this one. You could take one of the open source projects and extend it's functionality so it is served from the web page.
if you really want to go with C# you'll need to use silverlight.
One thing is having a page and the other component that knows how to handle vnc. Using asp/html/... won't get you far - you need to use java/silverligh - C#/flash...
Best regards,
P.

Has anyone used C# with a Sales Logix database? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Has anyone used C# with a Sales Logix database?
Yes. I rewrote a History tab that worked better and faster than the original Best/Sage built-in tab version using datagridviews in C#. It was a .NET plugin and I used Ryan Farley's instructions for getting it to work in SLX 6.x. In SLX 7.x you can use C# and VB.NET natively for building plug in components.
Yes. I have.
(Not the most interesting answer on SOB today, but that's what the question asked...)

Categories