| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 | 
							- using System.Net.NetworkInformation;
 
- namespace MediaBrowser.Model.System
 
- {
 
-     /// <summary>
 
-     /// Provides the MAC address and port for wake-on-LAN functionality.
 
-     /// </summary>
 
-     public class WakeOnLanInfo
 
-     {
 
-         /// <summary>
 
-         /// Returns the MAC address of the device.
 
-         /// </summary>
 
-         /// <value>The MAC address.</value>
 
-         public string MacAddress { get; set; }
 
-         /// <summary>
 
-         /// Returns the wake-on-LAN port.
 
-         /// </summary>
 
-         /// <value>The wake-on-LAN port.</value>
 
-         public int Port { get; set; }
 
-         /// <summary>
 
-         /// Initializes a new instance of the <see cref="WakeOnLanInfo" /> class.
 
-         /// </summary>
 
-         /// <param name="macAddress">The MAC address.</param>
 
-         public WakeOnLanInfo(PhysicalAddress macAddress)
 
-         {
 
-             MacAddress = macAddress.ToString();
 
-             Port = 9;
 
-         }
 
-         /// <summary>
 
-         /// Initializes a new instance of the <see cref="WakeOnLanInfo" /> class.
 
-         /// </summary>
 
-         /// <param name="macAddress">The MAC address.</param>
 
-         public WakeOnLanInfo(string macAddress)
 
-         {
 
-             MacAddress = macAddress;
 
-             Port = 9;
 
-         }
 
-         /// <summary>
 
-         /// Initializes a new instance of the <see cref="WakeOnLanInfo" /> class.
 
-         /// </summary>
 
-         public WakeOnLanInfo()
 
-         {
 
-             Port = 9;
 
-         }
 
-     }
 
- }
 
 
  |