bool canImp = imp.ImpersonateValidUser(impUser, domain, impPwd); FileStream fs = File.OpenRead(filePath); logger.Debug("File stream opened..."); byte[] b = new byte[fs.Length]; fs.Read(b, 0, b.Length); fs.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)