C# Class OpenWiz.WizHandle

An object describing a Wiz light on the network.
显示文件 Open project: UselessMnemonic/OpenWiz Class Usage Examples

Public Methods

Method Description
WizHandle ( string mac, IPAddress ip ) : System

Creates a handle that can be used to connect to, or identify, a remote Wiz light.

Method Details

WizHandle() public method

Creates a handle that can be used to connect to, or identify, a remote Wiz light.
/// If mac or ip are null. /// /// If ip is not IPv4, or if mac is not strictly 12 hex digits. ///
public WizHandle ( string mac, IPAddress ip ) : System
mac string The MAC of the remote light, as an unformatted /// string of 12 hex digits
ip IPAddress
return System