Microsoft
Software
Hardware
Network
Question : Visual Basic .Net, Need the Specific reason an IOException was thrown.
Is there an equivilant to C's errno in catching an IOException in .Net? I have an app that tests for locks, and I want to make sure I am waiting because the error was a locking problem, not another problem ("Access Denied", etc.). I do not want to parse the error string (could change, not language independent) or retrieve process list and look for my file (too much CPU). Is there a feature of .Net that works like errno?
Thanks.
Answer : Visual Basic .Net, Need the Specific reason an IOException was thrown.
Possibly?
Marshal.GetLastWin32Error,
or Err.LastDllError
Random Solutions
How do I change the passphrase for a wireless network without changing the SSID in windows vista.
How many bits is my operating system?
Compile more than one cs files in a dll (visual studio 2010)
bit or operation
connect to sql database using php
Two Inboxes in Outlook 2007
repair hard disk
Mac/Unix/Linux compatibility with Windows 2008 R2 domain authentication
Pulling recent posts in two columns
3 monitors on i5-650 on Gigabyte GA-H55M-UD2H