Esempio n. 1
0
 /// <summary>
 /// Queries the DHCP Server for the specified OptionId Value within a User Class
 /// </summary>
 /// <param name="className">The name of the User Class to retrieve the Option from</param>
 /// <param name="optionId">The identifier for the option value to retrieve</param>
 /// <returns>A <see cref="IDhcpServerOptionValue"/>.</returns>
 public IDhcpServerOptionValue GetUserOptionValue(string className, DhcpServerOptionIds optionId)
 => DhcpServerOptionValue.GetGlobalUserOptionValue(Server, className, (int)optionId);
Esempio n. 2
0
 /// <summary>
 /// Queries the DHCP Server for the specified OptionId Value within a User Class
 /// </summary>
 /// <param name="ClassName">The name of the User Class to retrieve the Option from</param>
 /// <param name="OptionId">The identifier for the option value to retrieve</param>
 /// <returns>A <see cref="DhcpServerOptionValue"/>.</returns>
 public DhcpServerOptionValue GetUserOptionValue(string ClassName, int OptionId)
 {
     return(DhcpServerOptionValue.GetGlobalUserOptionValue(this, OptionId, ClassName));
 }