Click here to Skip to main content
12,243,383 members (41,399 online)
   

C#

 
GeneralRe: Help for code Pin
Eddy Vluggen3-Mar-11 2:06
memberEddy Vluggen3-Mar-11 2:06 
GeneralRe: Help for code Pin
Girish4813-Mar-11 4:38
memberGirish4813-Mar-11 4:38 
GeneralRe: Help for code Pin
Eddy Vluggen3-Mar-11 7:45
memberEddy Vluggen3-Mar-11 7:45 
GeneralRe: Help for code Pin
Girish4814-Mar-11 0:48
memberGirish4814-Mar-11 0:48 
GeneralRe: Help for code Pin
Eddy Vluggen4-Mar-11 13:16
memberEddy Vluggen4-Mar-11 13:16 
GeneralRe: Help for code Pin
Girish4815-Mar-11 17:56
memberGirish4815-Mar-11 17:56 
GeneralRe: Help for code Pin
Eddy Vluggen6-Mar-11 1:42
memberEddy Vluggen6-Mar-11 1:42 
QuestionHow do you protect your app hosting third party dll ...? [modified] Pin
devvvy2-Mar-11 22:32
memberdevvvy2-Mar-11 22:32 
AnswerRe: How do you protect your app hosting third party dll ...? Pin
Eddy Vluggen3-Mar-11 7:58
memberEddy Vluggen3-Mar-11 7:58 
GeneralRe: How do you protect your app hosting third party dll ...? Pin
devvvy3-Mar-11 16:21
memberdevvvy3-Mar-11 16:21 
GeneralRe: How do you protect your app hosting third party dll ...? Pin
Eddy Vluggen4-Mar-11 12:04
memberEddy Vluggen4-Mar-11 12:04 
GeneralRe: How do you protect your app hosting third party dll ...? [modified] Pin
devvvy4-Mar-11 23:28
memberdevvvy4-Mar-11 23:28 
GeneralRe: How do you protect your app hosting third party dll ...? Pin
Eddy Vluggen5-Mar-11 4:02
memberEddy Vluggen5-Mar-11 4:02 
GeneralRe: How do you protect your app hosting third party dll ...? Pin
devvvy5-Mar-11 15:24
memberdevvvy5-Mar-11 15: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())
/*
* ATTN: When set to "ReflectionPermissionFlag.MemberAccess", all instance members (public|protected|private) are accessible from ThirdParty dll DoWork.
* However, static members are not.

Detected type from ThirdParty via reflection: TestAppDomain.Program
Detected fields: StaticKey, Exception while trying to access property value: Request failed.
Detected fields: UserDomain, Exception while trying to access property value: Request failed.
Detected fields: KEY1, Value: KEY1
Detected fields: KEY2, Value: KEY2
Detected fields: KEY3, Value: KEY3
*/
ReflectionPermission RefPerm = new ReflectionPermission(ReflectionPermissionFlag.MemberAccess);
// RefPerm.Deny(); // Obsolete in .NET 4! How else can I do it?
PermSet.AddPermission(RefPerm); // Not adding the permission doesn't work, third party lib in sandbox can still reflect by default.

dev

GeneralRe: How do you protect your app hosting third party dll ...? Pin
Eddy Vluggen7-Mar-11 1:41
memberEddy Vluggen7-Mar-11 1:41 
GeneralRe: How do you protect your app hosting third party dll ...? Pin
devvvy7-Mar-11 15:27
memberdevvvy7-Mar-11 15:27 
QuestionUpdate progress bar on another form Pin
Etienne_1232-Mar-11 22:28
memberEtienne_1232-Mar-11 22:28 
AnswerRe: Update progress bar on another form Pin
musefan2-Mar-11 23:29
membermusefan2-Mar-11 23:29 
GeneralRe: Update progress bar on another form Pin
Etienne_1233-Mar-11 22:17
memberEtienne_1233-Mar-11 22:17 
AnswerRe: Update progress bar on another form Pin
DaveyM693-Mar-11 2:13
mentorDaveyM693-Mar-11 2:13 
GeneralRe: Update progress bar on another form Pin
Luc Pattyn3-Mar-11 2:36
mvpLuc Pattyn3-Mar-11 2:36 
GeneralRe: Update progress bar on another form Pin
DaveyM693-Mar-11 4:58
mentorDaveyM693-Mar-11 4:58 
GeneralRe: Update progress bar on another form Pin
Etienne_1233-Mar-11 21:00
memberEtienne_1233-Mar-11 21:00 
QuestionPausing execution for certain amount of time without freezing the form. Pin
john1234512-Mar-11 15:48
memberjohn1234512-Mar-11 15:48 
AnswerRe: Pausing execution for certain amount of time without freezing the form. Pin
Luc Pattyn2-Mar-11 16:31
mvpLuc Pattyn2-Mar-11 16:31 
AnswerRe: Pausing execution for certain amount of time without freezing the form. Pin
OriginalGriff2-Mar-11 22:19
mvpOriginalGriff2-Mar-11 22:19 
GeneralRe: Pausing execution for certain amount of time without freezing the form. Pin
Luc Pattyn3-Mar-11 1:53
mvpLuc Pattyn3-Mar-11 1:53 
AnswerRe: Pausing execution for certain amount of time without freezing the form. Pin
musefan2-Mar-11 23:20
membermusefan2-Mar-11 23:20 
QuestionConsole in c# 2008 Express Pin
Bob Pawley2-Mar-11 13:47
memberBob Pawley2-Mar-11 13:47 
AnswerRe: Console in c# 2008 Express Pin
Dave Kreskowiak2-Mar-11 13:59
mvpDave Kreskowiak2-Mar-11 13:59 
AnswerRe: Console in c# 2008 Express Pin
DaveyM692-Mar-11 14:32
mentorDaveyM692-Mar-11 14:32 
AnswerRe: Console in c# 2008 Express Pin
Stark DaFixzer2-Mar-11 22:16
memberStark DaFixzer2-Mar-11 22:16 
QuestionHow to select a radio button in internet explorer. Pin
sososm2-Mar-11 12:46
membersososm2-Mar-11 12:46 
QuestionLastinputinfo() not working on my machine ... Pin
turbosupramk32-Mar-11 11:51
memberturbosupramk32-Mar-11 11:51 
AnswerRe: Lastinputinfo() not working on my machine ... Pin
Eddy Vluggen2-Mar-11 12:08
memberEddy Vluggen2-Mar-11 12:08 
AnswerRe: Lastinputinfo() not working on my machine ... [modified] Pin
DaveyM692-Mar-11 13:11
mentorDaveyM692-Mar-11 13:11 
GeneralRe: Lastinputinfo() not working on my machine ... Pin
turbosupramk33-Mar-11 7:08
memberturbosupramk33-Mar-11 7:08 
GeneralRe: Lastinputinfo() not working on my machine ... Pin
DaveyM693-Mar-11 7:58
mentorDaveyM693-Mar-11 7:58 
QuestionGetting the relevent letter for unicode. Pin
prasadbuddhika2-Mar-11 7:46
memberprasadbuddhika2-Mar-11 7:46 
AnswerRe: Getting the relevent letter for unicode. Pin
Richard MacCutchan2-Mar-11 7:55
mvpRichard MacCutchan2-Mar-11 7:55 
AnswerRe: Getting the relevent letter for unicode. Pin
Eddy Vluggen2-Mar-11 8:24
memberEddy Vluggen2-Mar-11 8:24 
GeneralC# / WPF Job Offer in Tampa, FL Pin
Azad Giordano Ratzki2-Mar-11 5:13
memberAzad Giordano Ratzki2-Mar-11 5:13 
GeneralRe: C# / WPF Job Offer in Tampa, FL Pin
Pete O'Hanlon2-Mar-11 5:23
mvpPete O'Hanlon2-Mar-11 5:23 
GeneralRe: C# / WPF Job Offer in Tampa, FL Pin
Azad Giordano Ratzki2-Mar-11 5:30
memberAzad Giordano Ratzki2-Mar-11 5:30 
GeneralRe: C# / WPF Job Offer in Tampa, FL Pin
Pete O'Hanlon2-Mar-11 5:46
mvpPete O'Hanlon2-Mar-11 5:46 
GeneralRe: C# / WPF Job Offer in Tampa, FL Pin
Pete O'Hanlon2-Mar-11 6:39
mvpPete O'Hanlon2-Mar-11 6:39 
GeneralRe: C# / WPF Job Offer in Tampa, FL Pin
MDL=>Moshu2-Mar-11 6:47
memberMDL=>Moshu2-Mar-11 6:47 
GeneralRe: C# / WPF Job Offer in Tampa, FL Pin
Stark DaFixzer2-Mar-11 6:54
memberStark DaFixzer2-Mar-11 6:54 
GeneralRe: C# / WPF Job Offer in Tampa, FL Pin
Pete O'Hanlon2-Mar-11 8:23
mvpPete O'Hanlon2-Mar-11 8:23 
GeneralRe: C# / WPF Job Offer in Tampa, FL Pin
digital man2-Mar-11 6:17
memberdigital man2-Mar-11 6: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.


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 1 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid