Click here to Skip to main content
15,922,650 members
Home / Discussions / C#
   

C#

 
QuestionDisposing of Tray Icon Pin
Expert Coming26-Feb-06 19:33
Expert Coming26-Feb-06 19:33 
AnswerRe: Disposing of Tray Icon Pin
redfish3426-Feb-06 22:23
redfish3426-Feb-06 22:23 
QuestionAssembly have been signed but not protecting URGENT Pin
Ariston Darmayuda26-Feb-06 15:07
Ariston Darmayuda26-Feb-06 15:07 
AnswerRe: Assembly have been signed but not protecting URGENT Pin
mav.northwind27-Feb-06 7:51
mav.northwind27-Feb-06 7:51 
QuestionRe: Assembly have been signed but not protecting URGENT Pin
Ariston Darmayuda27-Feb-06 18:42
Ariston Darmayuda27-Feb-06 18:42 
AnswerRe: Assembly have been signed but not protecting URGENT Pin
mav.northwind27-Feb-06 20:20
mav.northwind27-Feb-06 20:20 
GeneralRe: Assembly have been signed but not protecting URGENT Pin
Ariston Darmayuda28-Feb-06 5:32
Ariston Darmayuda28-Feb-06 5:32 
GeneralRe: Assembly have been signed but not protecting URGENT Pin
mav.northwind28-Feb-06 6:45
mav.northwind28-Feb-06 6:45 
Ok, it seems to be an issue with .NET 2.0 indeed.

I've converted the VS 2003 test solution to VS 2005 and tried again. I could reproduce the failure to check the StringNameIdentityPermissionAttribute with .NET 2.0 - the very same application that threw a SecurityException with 1.1 ran without problems in 2.0!

I think it's time to contact MS...

Regards,
mav

--
Black holes are the places where god divided by 0...

-- modified at 12:57 Tuesday 28th February, 2006

I just found some additional information that might be of interest:
In the microsoft.public.dotnet.security newsgroup I found a statement that in .NET 2.0 fully trusted code will automatically bypass all identity permission demands.
Heaven knows why this decision has been made, but this seems to explain the behaviour.


-- modified at 13:12 Tuesday 28th February, 2006
And another piece of wisdom from Eugene Bobukh:
http://blogs.msdn.com/eugene_bobukh/archive/2005/05/06/415217.aspx[^]
QuestionGetting C++ ready for .NET interop Pin
Judah Gabriel Himango26-Feb-06 14:53
sponsorJudah Gabriel Himango26-Feb-06 14:53 
AnswerRe: Getting C++ ready for .NET interop Pin
Christian Graus26-Feb-06 15:50
protectorChristian Graus26-Feb-06 15:50 
GeneralRe: Getting C++ ready for .NET interop Pin
Judah Gabriel Himango26-Feb-06 15:52
sponsorJudah Gabriel Himango26-Feb-06 15:52 
AnswerRe: Getting C++ ready for .NET interop Pin
Daniel Turini26-Feb-06 21:48
Daniel Turini26-Feb-06 21:48 
GeneralRe: Getting C++ ready for .NET interop Pin
Judah Gabriel Himango27-Feb-06 5:20
sponsorJudah Gabriel Himango27-Feb-06 5:20 
QuestionEvent for drawing all controlls in a form? Pin
2hdass26-Feb-06 14:37
2hdass26-Feb-06 14:37 
QuestionAbout background image Pin
2hdass26-Feb-06 13:31
2hdass26-Feb-06 13:31 
AnswerRe: About background image Pin
Guffa26-Feb-06 14:02
Guffa26-Feb-06 14:02 
AnswerRe: About background image Pin
Christian Graus26-Feb-06 14:05
protectorChristian Graus26-Feb-06 14:05 
AnswerRe: About background image Pin
Ravi Bhavnani26-Feb-06 14:33
professionalRavi Bhavnani26-Feb-06 14:33 
GeneralRe: About background image Pin
2hdass27-Feb-06 15:11
2hdass27-Feb-06 15:11 
GeneralRe: About background image Pin
Ravi Bhavnani28-Feb-06 0:51
professionalRavi Bhavnani28-Feb-06 0:51 
QuestionFile Format Pin
Sean8926-Feb-06 12:47
Sean8926-Feb-06 12:47 
AnswerRe: File Format Pin
Christian Graus26-Feb-06 14:04
protectorChristian Graus26-Feb-06 14:04 
AnswerRe: File Format Pin
Sean Michael Murphy26-Feb-06 16:27
Sean Michael Murphy26-Feb-06 16:27 
Questionuse a stream two times... Pin
atgp26-Feb-06 8:42
atgp26-Feb-06 8:42 
AnswerRe: use a stream two times... Pin
Le centriste26-Feb-06 10:02
Le centriste26-Feb-06 10:02 

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.