stumper66
Newcomer
I have a console application. I would like to use uint for the exit code, eg. Environment.Exitcode = 0x80070005
Is there a method for returning unsigned integers or long integers? The reason is, I'm catching exceptions and want to return the native windows error code, such as System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Is there a method for returning unsigned integers or long integers? The reason is, I'm catching exceptions and want to return the native windows error code, such as System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))