C# Class Dev2.Integration.Tests.Activities.PathIOTestingUtils

Datei anzeigen Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
CreateAuthedUNCPath ( string path, bool isDir = false, bool inDomain = true ) : void
DeleteAuthedUNCPath ( string path, bool inDomain = false ) : void

Private Methods

Method Description
CreateUNCFile ( string path, bool isDir, int LOGON32_LOGON_INTERACTIVE, int LOGON32_PROVIDER_DEFAULT, byte data, bool inDomain = true ) : void
LogonUser ( String lpszUsername, String lpszDomain, String lpszPassword, int dwLogonType, int dwLogonProvider, SafeTokenHandle &phToken ) : bool

Method Details

CreateAuthedUNCPath() public static method

public static CreateAuthedUNCPath ( string path, bool isDir = false, bool inDomain = true ) : void
path string
isDir bool
inDomain bool
return void

DeleteAuthedUNCPath() public static method

public static DeleteAuthedUNCPath ( string path, bool inDomain = false ) : void
path string
inDomain bool
return void