0

Closed

Catch UnauthorizedAccessException in cmdhashgen

description

Y:>H:\Down\Tools4Nt\cmdtools-bin-104\cmdhashgen\cmdhashgen.exe c:\boot.ini
CommandLine Hash Generator 1.0.4 (r133) · http://www.Stum.de
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Hashing [File] “c:\boot.ini”
Unhandled Exception: System.UnauthorizedAccessException: Access to the path ‘c:\boot.ini’ is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATT
RIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at stumde.cmdtools.cmdhashgen.Program.GetHash(String Input, Boolean IsInputString, HashAlgorithm hasher)
at stumde.cmdtools.cmdhashgen.Program.GetHashOutput(String HashName, HashAlgorithm Hasher, String HashInput, Boolean IsInputString, Boolean BareDisplay)
at stumde.cmdtools.cmdhashgen.Program.Main(String[] args)
Closed May 9, 2009 at 2:41 PM by michaelstum
Fixed in CheckIn 15353, will be fixed in Version 1.0.5

comments