Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Help for code Pin
Eddy Vluggen2-Mar-11 23:46
professionalEddy Vluggen2-Mar-11 23:46 
GeneralRe: Help for code Pin
musefan2-Mar-11 23:51
musefan2-Mar-11 23:51 
AnswerRe: Help for code Pin
Eddy Vluggen2-Mar-11 23:45
professionalEddy Vluggen2-Mar-11 23:45 
GeneralRe: Help for code Pin
Girish4813-Mar-11 0:01
Girish4813-Mar-11 0:01 
GeneralRe: Help for code Pin
musefan3-Mar-11 0:06
musefan3-Mar-11 0:06 
GeneralRe: Help for code Pin
Girish4813-Mar-11 0:47
Girish4813-Mar-11 0:47 
GeneralRe: Help for code Pin
Eddy Vluggen3-Mar-11 1:06
professionalEddy Vluggen3-Mar-11 1:06 
GeneralRe: Help for code Pin
Girish4813-Mar-11 3:38
Girish4813-Mar-11 3:38 
GeneralRe: Help for code Pin
Eddy Vluggen3-Mar-11 6:45
professionalEddy Vluggen3-Mar-11 6:45 
GeneralRe: Help for code Pin
Girish4813-Mar-11 23:48
Girish4813-Mar-11 23:48 
GeneralRe: Help for code Pin
Eddy Vluggen4-Mar-11 12:16
professionalEddy Vluggen4-Mar-11 12:16 
GeneralRe: Help for code Pin
Girish4815-Mar-11 16:56
Girish4815-Mar-11 16:56 
GeneralRe: Help for code Pin
Eddy Vluggen6-Mar-11 0:42
professionalEddy Vluggen6-Mar-11 0:42 
QuestionHow do you protect your app hosting third party dll ...? [modified] Pin
devvvy2-Mar-11 21:32
devvvy2-Mar-11 21:32 
AnswerRe: How do you protect your app hosting third party dll ...? Pin
Eddy Vluggen3-Mar-11 6:58
professionalEddy Vluggen3-Mar-11 6:58 
GeneralRe: How do you protect your app hosting third party dll ...? Pin
devvvy3-Mar-11 15:21
devvvy3-Mar-11 15:21 
GeneralRe: How do you protect your app hosting third party dll ...? Pin
Eddy Vluggen4-Mar-11 11:04
professionalEddy Vluggen4-Mar-11 11:04 
GeneralRe: How do you protect your app hosting third party dll ...? [modified] Pin
devvvy4-Mar-11 22:28
devvvy4-Mar-11 22:28 
GeneralRe: How do you protect your app hosting third party dll ...? Pin
Eddy Vluggen5-Mar-11 3:02
professionalEddy Vluggen5-Mar-11 3:02 
GeneralRe: How do you protect your app hosting third party dll ...? Pin
devvvy5-Mar-11 14:24
devvvy5-Mar-11 14:24 
For starter, licensing.

But been hearing CAS is becoming out of favor and MSDN sandbox example relies on CAS[^]

I'm still trying to "Deny" reflection permission (Third party can call "GetCallingAssembly().GetType())
<br />
/*<br />
                 * ATTN: When set to "ReflectionPermissionFlag.MemberAccess", all instance members (public|protected|private) are accessible from ThirdParty dll DoWork.<br />
                 *       However, static members are not.<br />
                 <br />
                    Detected type from ThirdParty via reflection: TestAppDomain.Program<br />
                    Detected fields: StaticKey, Exception while trying to access property value: Request failed.<br />
                    Detected fields: UserDomain, Exception while trying to access property value: Request failed.<br />
                    Detected fields: KEY1, Value: KEY1<br />
                    Detected fields: KEY2, Value: KEY2<br />
                    Detected fields: KEY3, Value: KEY3<br />
                 */<br />
                ReflectionPermission RefPerm = new ReflectionPermission(ReflectionPermissionFlag.MemberAccess);<br />
                // RefPerm.Deny(); // Obsolete in .NET 4! How else can I do it?<br />
                PermSet.AddPermission(RefPerm); // Not adding the permission doesn't work, third party lib in sandbox can still reflect by default.<br />

dev

GeneralRe: How do you protect your app hosting third party dll ...? Pin
Eddy Vluggen7-Mar-11 0:41
professionalEddy Vluggen7-Mar-11 0:41 
GeneralRe: How do you protect your app hosting third party dll ...? Pin
devvvy7-Mar-11 14:27
devvvy7-Mar-11 14:27 
QuestionUpdate progress bar on another form Pin
Etienne_1232-Mar-11 21:28
Etienne_1232-Mar-11 21:28 
AnswerRe: Update progress bar on another form Pin
musefan2-Mar-11 22:29
musefan2-Mar-11 22:29 
GeneralRe: Update progress bar on another form Pin
Etienne_1233-Mar-11 21:17
Etienne_1233-Mar-11 21:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.