smsclictr.automation library
Connect the IPC$ Share of a remote System

Namespace:  smsclictr.automation
Assembly:  smsclictr.automation(in smsclictr.automation.dll) Version: 1.1.3731.16627 (1.1.2.4)

Syntax

C#
public 
static 
int 
ConnectIPC(
	
string 
Hostname,
	
string 
UserName,
	
string 
Password
)

Parameters

Hostname
Type: System . . :: . String
Hostname or IP-Address of the remote System
UserName
Type: System . . :: . String
Username (Domain\User)
Password
Type: System . . :: . String
Password of the specified Username

Return Value

System Error Codes (SUCCESS = 0); Error Codes

Examples

C#:
CopyC#
using System;
using
System.Collections.Generic;
using System.Text;
using smsclictr.automation;

namespace
ConsoleApplication1
{

class Program
		{
		 
static 
void Main(
string[] args)
			{
				SMSClient oClient = 
new SMSClient(
"smsserver");
				CCMSetup oCCMSetup = 
new CCMSetup(oClient);
				oCCMSetup.ConnectIPC(
"anotherserver", 
@"corp\smsadmin", 
"password");
		}
	}
}

See Also