Moonware.Server.WCF
TestCameraConnection Method



Source Index.
The template id.
The video preset.
The audio preset.
The ip address.
The port.
Name of the user.
The password.
Tests the camera connection prior to call ConnectCamera (Netcam Camera Provider only).
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
Public Function TestCameraConnection( _
   ByVal sourceId As Integer, _
   ByVal templateId As Integer, _
   ByVal videoPreset As Integer, _
   ByVal audioPreset As Integer, _
   ByVal ipAddress As String, _
   ByVal port As Integer, _
   ByVal userName As String, _
   ByVal password As String, _
   ByVal customUrl As String _
) As TestCameraConnectionResult
'Usage
 
Dim instance As MoonwareServerWCF
Dim sourceId As Integer
Dim templateId As Integer
Dim videoPreset As Integer
Dim audioPreset As Integer
Dim ipAddress As String
Dim port As Integer
Dim userName As String
Dim password As String
Dim customUrl As String
Dim value As TestCameraConnectionResult
 
value = instance.TestCameraConnection(sourceId, templateId, videoPreset, audioPreset, ipAddress, port, userName, password, customUrl)
[OperationBehaviorAttribute()]
public TestCameraConnectionResult TestCameraConnection( 
   int sourceId,
   int templateId,
   int videoPreset,
   int audioPreset,
   string ipAddress,
   int port,
   string userName,
   string password,
   string customUrl
)
[OperationBehaviorAttribute()]
public:
TestCameraConnectionResult^ TestCameraConnection( 
   int sourceId,
   int templateId,
   int videoPreset,
   int audioPreset,
   String^ ipAddress,
   int port,
   String^ userName,
   String^ password,
   String^ customUrl
) 

Parameters

sourceId
Source Index.
templateId
The template id.
videoPreset
The video preset.
audioPreset
The audio preset.
ipAddress
The ip address.
port
The port.
userName
Name of the user.
password
The password.
customUrl

Return Value

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MoonwareServerWCF Class
MoonwareServerWCF Members

Send Feedback