Getting the Windows System Error Code title/description from its hex number
I’m not sure if there’s a niifty .NET wrapper, but you could call the FormatMessage API using P/Invoke. See this answer for how it would normally be called from native code. Though the question refers to grabbing error codes from HRESULTs, the answer also applies for retreiving codes from the regular OS error codes coming … Read more