Software components for data protection, secure storage and transfer
System.IO.IOException: Logon failure: unknown user name or bad password
FileStream fs = new FileStream( "\\server\share\folder\file1.doc", FileMode.Open, FileAccess.ReadWrite, FileShare.None );
[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
internal static extern SafeFileHandle CreateFile(string lpFileName, uint dwDesiredAccess, FileShare dwShareMode, IntPtr lpSecurityAttributes, FileMode dwCreationDisposition, uint dwFlagsAndAttributes, IntPtr TemplateFile);
SafeFileHandle theFileHandle = CreateFile("\\server\share\folder\file1.doc",GENERIC_READ | GENERIC_WRITE, FileShare.None, IntPtr.Zero, FileMode.Open, FILE_ATTRIBUTE_NORMAL, IntPtr.Zero);
Messages 1 - 10 of 11
First | Prev. | 1 2 | Next | Last
Number of guests: 1, registered members: 0,
in total hidden: 0
Copyright (c) 2016, /n software, Inc.
As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.