Erros de WindowsErro
System.UnauthorizedAccessExceptionSystem.UnauthorizedAccessException — Unauthorized Access
Access to the resource is denied due to insufficient permissions.
windows
Ver detalhes ERROR_FILENAME_EXCED_RANGE (206)The filename or extension is too long.
The full path exceeds MAX_PATH (260 characters) or the filename exceeds 255 characters.
Shorten the path or filename. Use the \\?\ prefix for long paths. Enable long path support in Group Policy (Windows 10+).
System.UnauthorizedAccessExceptionAccess to the resource is denied due to insufficient permissions.
DPC_WATCHDOG_VIOLATION (0x00000133)A DPC (Deferred Procedure Call) routine ran for too long.
ERROR_INVALID_FUNCTION (1)The function called is not valid for this system call.
PSSecurityExceptionThe PowerShell execution policy prevents running scripts.
E_NOINTERFACE (0x80004002)The requested COM interface is not supported by the object.
ERROR_NOT_SAME_DEVICE (17)The system cannot move a file to a different disk drive.