What are user permission with impersonation to write file at server path?
问题 I used the example below but i have still have exception : System.Security.Permissions.SecurityPermission Here below is presented diagnostic info for technical support personel: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib Admin said the user credential has full permission to read and write IntPtr userToken = IntPtr.Zero; bool success = External.LogonUser( "userID", "domain.com", "MyPassword", (int) AdvApi32Utility.LogonType.LOGON32_LOGON