Свойство | Type | Description | |
---|---|---|---|
BaseUrl | string |
Méthode | Description | |
---|---|---|
CheckConnection ( string ip, string username ) : bool |
Checks if the server can connect to a specific bridge. Should be checked before creating an instance
|
|
HueBridge ( string ip, string applicationName, string deviceName, string userName ) : System |
Creates a new instance and sets the base url
|
public static CheckConnection ( string ip, string username ) : bool | ||
ip | string | The bridges (local) ip |
username | string | The username the server takes to identify at the bridge |
Résultat | bool |
public HueBridge ( string ip, string applicationName, string deviceName, string userName ) : System | ||
ip | string | The bridges ip |
applicationName | string | The used application name |
deviceName | string | The used device name |
userName | string | The used userName |
Résultat | System |