Uzytkownik "Duggi" <(E-Mail Removed)> napisal w wiadomosci
news:(E-Mail Removed)...
> Place Try..catch block for the statement DriveInfo.GetDrives() and
> catch the IO Exception Properly. Exception.Message would give you the
> reason why it is failed.
I did as you wrote and the message is: "Request for the permission of type
'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.".
It's sounds silly to me. All I wanted is just to read the disk label but the
CLR behaves like it was a virus at least. And still don't know what to do