Sandbox scripts

178 views
Skip to first unread message

kuba...@gmail.com

unread,
Sep 18, 2018, 3:24:12 PM9/18/18
to CS-Script
Hi,
first of all I would like to thank to developers. This is a great project!

I have been looking for examples how to create sandbox functionality for cs-scripts. I found this http://www.csscript.net/Samples/Sandbox.zip but this is pretty obsolete and since you not allow NetFx40_LegacySecurityPolicy it doesnt work.
Is there a code snippet for newer .NET?

Thank you very much!

Oleg Shilo

unread,
Sep 19, 2018, 7:06:49 AM9/19/18
to cs-s...@googlegroups.com
You will be able to find nor information on the project home page on GitHub.

--
You received this message because you are subscribed to the Google Groups "CS-Script" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cs-script+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

kuba...@gmail.com

unread,
Sep 25, 2018, 8:19:56 AM9/25/18
to CS-Script
Hi Oleg,
thank you very much for your reply. I am a bit confused by the usage of this https://github.com/oleg-shilo/cs-script/blob/master/Source/deployment/samples/Sandboxing/NET4.0/Host/Host.cs class. As far as I understand this is the file which should handle the sandbox functionality for CS-script.
I am using CSScript.Load and not invoking particular static method. Are there any examples for that?
Once again, thank you for your outstanding work.
Pavel

Oleg Shilo

unread,
Sep 26, 2018, 7:41:55 AM9/26/18
to CS-Script

I have moved your post on GitHub and answered it there: https://github.com/oleg-shilo/cs-script/issues/126
Reply all
Reply to author
Forward
0 new messages