I am receiving a System.IO.FileNotFoundException when attempting to access a path like "C:\Path\~somePath\Path\file.ext" it reports the error:
System.IO.FileNotFoundException: Could not find file 'C:\Path\~s'. File name: 'C:\Path\~s' 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_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)