Remote |
This object used for remote management of configuration of server. Remote object included in netcom.dll.
ProgID: "NetCom.Remote".
VBScript example of using:
'netcom.dll contains 'NetCom.Remote' object.
Dim Remote, TrafficFilter, S, V
Set Remote = CreateObject("NetCom.Remote")
With Remote
.Host = "192.168.0.1"
.Port = 42566
.UserName = "Administrator"
.Password = "mypass"
Set TrafficFilter = .CreateRoot
With TrafficFilter
'Show service version
V = .Version
S = "Routix NetCom service version: " & V(0) & "." & V(1) & "." & V(2) & "." & V(3)
If .IsFreeware Then
S = S & ", Freeware"
Else
S = S & ", Registered"
End If
WScript.Echo S
'Add version record to the system event log
.LogInfo(S)
End With
End With
Set TrafficFilter = Nothing
Remote.Disconnect
Set Remote = Nothing