c# Programming Glossary: iptemp
Using C#, how does one figure out what process locked a file? http://stackoverflow.com/questions/860656/using-c-how-does-one-figure-out-what-process-locked-a-file var strObjectName var nLength 0 IntPtr ipTemp ipHandle if Win32API.DuplicateHandle ipProcessHwnd systemHandleInformation.Handle.. ipObjectType objObjectType.GetType if Is64Bits ipTemp new IntPtr Convert.ToInt64 objObjectType.Name.Buffer.ToString.. objObjectType.Name.Buffer.ToString 10 32 else ipTemp objObjectType.Name.Buffer var strObjectTypeName Marshal.PtrToStringUni..
|