Fog Creek Software
g
Discussion Board




Welcome! and rules

Joel on Software

.NET sandboxing

Is there any way with CAS to programmatic say that the called function has X set of rights? i.e. activating an object, perhaps in another assembly, and calling a method on it with no privileges?

Thank you all

.NET Pundit
Tuesday, February 1, 2005

Try reading this article:

http://msdn.microsoft.com/netframework/programming/winforms/smartclient.aspx

Does that help?

Steve
Thursday, February 3, 2005

Sorry it does not. Thank you for replying though.

.NET Pundit
Friday, February 4, 2005

The function you're looking for is Assert. (No, not the debugging Assert that says pop up a messagebox when you make a mistake; it's a different Assert).

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconAssert.asp

Sexist
Sunday, February 6, 2005

*  Recent Topics

*  Fog Creek Home