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
Password history and length: Group Policy
How can I move my 'footer' under my 'content' with CSS?
Sql query returns 24 hour time format instead of 12 hour am/pm format:
How to remove empty columns or rows
How can I immpove the design on this asp.net form
Authenticate into password protected directory with php
KVM Switch vs AVocent KVM
PHP Notice: Undefined offset: 1
Word 2007 Freezes On Open/Save File - Win7Pro64/SBS2008 Server
Is the pointer constant or what it points to constant?