Fog Creek Software
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 01, 2005

Try reading this article:

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

Does that help?

Steve
Thursday, February 03, 2005

Sorry it does not. Thank you for replying though.

.NET Pundit
Friday, February 04, 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 06, 2005

*  Recent Topics

*  Fog Creek Home