c# Programming Glossary: security_attributes
System.IO.Exception error: “The requested operation cannot be performed on a file with a user-mapped section open.” http://stackoverflow.com/questions/1302698/system-io-exception-error-the-requested-operation-cannot-be-performed-on-a-fil FileShare share Int32 bufferSize FileOptions options SECURITY_ATTRIBUTES secAttrs String msgPath Boolean bFromProxy at System.IO.FileStream..ctor..
How do you check for permissions to write to a directory or file? http://stackoverflow.com/questions/130617/how-do-you-check-for-permissions-to-write-to-a-directory-or-file FileShare share Int32 bufferSize FileOptions ptions SECURITY_ATTRIBUTES secAttrs String msgPath Boolean bFromProxy at System.IO.FileStream..ctor..
Process.Start with different credentials with UAC on http://stackoverflow.com/questions/2313553/process-start-with-different-credentials-with-uac-on API routines StructLayout LayoutKind.Sequential struct SECURITY_ATTRIBUTES public Int32 Length public IntPtr lpSecurityDescriptor public.. hToken String lpApplicationName String lpCommandLine ref SECURITY_ATTRIBUTES lpProcessAttributes ref SECURITY_ATTRIBUTES lpThreadAttributes.. ref SECURITY_ATTRIBUTES lpProcessAttributes ref SECURITY_ATTRIBUTES lpThreadAttributes Boolean bInheritHandle Int32 dwCreationFlags..
Kill child process when parent process is killed http://stackoverflow.com/questions/3342941/kill-child-process-when-parent-process-is-killed 11 StructLayout LayoutKind.Sequential public struct SECURITY_ATTRIBUTES public int nLength public IntPtr lpSecurityDescriptor public..
Using Process.Start() to start a process as a different user from within a Windows Service http://stackoverflow.com/questions/362419/using-process-start-to-start-a-process-as-a-different-user-from-within-a-windo LOGON32_PROVIDER_WINNT40 LOGON32_PROVIDER_WINNT50 #region _SECURITY_ATTRIBUTES typedef struct _SECURITY_ATTRIBUTES DWORD nLength LPVOID lpSecurityDescriptor.. #region _SECURITY_ATTRIBUTES typedef struct _SECURITY_ATTRIBUTES DWORD nLength LPVOID lpSecurityDescriptor BOOL bInheritHandle.. nLength LPVOID lpSecurityDescriptor BOOL bInheritHandle SECURITY_ATTRIBUTES PSECURITY_ATTRIBUTES LPSECURITY_ATTRIBUTES #endregion struct..
Access to the path is denied http://stackoverflow.com/questions/4877741/access-to-the-path-is-denied FileShare share Int32 bufferSize FileOptions options SECURITY_ATTRIBUTES secAttrs String msgPath Boolean bFromProxy Boolean useLongPath..
Working example of CreateJobObject/SetInformationJobObject pinvoke in .net? http://stackoverflow.com/questions/6266820/working-example-of-createjobobject-setinformationjobobject-pinvoke-in-net hProcess StructLayout LayoutKind.Sequential public struct SECURITY_ATTRIBUTES public int nLength public IntPtr lpSecurityDescriptor public..
|