DeviceAdd
Creates a device for the current user returning true if the command succeeded otherwise returns false.
public bool DeviceAdd(bool <byHttps>, string <userName>, string <password>, DeviceAddParameters <deviceAddParameters>, ref char <messageType>, ref string <message>)
Parameters:
bool <byHttps>
|
Set to true if you want to user https protocol otherwise, if you want to use http, set it to false
|
string <userName>
|
A string containing the username assigned from MyWakes
|
string <password>
|
A string containing the password for the MyWakes user
|
DeviceAddParameters <deviceAddParameters>
|
A DeviceAddParameters object containing command's specific parameters
|
ref char <messageType>
|
A string containing output parameter that will return the type of message returned in <message> field: I=information, W=warning, E=error
|
ref string <message>
|
A string containing output parameter with the message content
|