Request the server to change a security code for a device.
Declaration Syntax
Public Function ChangeDeviceSecurityCode ( _
deviceId As String, _
oldSecurityCode As String, _
newSecurityCode As String, _
userState As Object _
) As Integer
public:
virtual int ChangeDeviceSecurityCode(
String^ deviceId,
String^ oldSecurityCode,
String^ newSecurityCode,
Object^ userState
) sealed
Parameters
- deviceId (String)
-
The device id that we want to do the validation on.
- oldSecurityCode (String)
-
The original security code.
- newSecurityCode (String)
-
The new security Code.
- userState (Object)
- A object which will be returned via the OnChangeDeviceSecurityCodeResponse callback.
Return Value
The Invoke Id of the message went to the server.
Assembly: ServiceProvider (Module: ServiceProvider)