/// <summary> /// Queries the DHCP Server for the specified OptionId 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 to retrieve</param> /// <returns>A <see cref="IDhcpServerOption"/>.</returns> public IDhcpServerOption GetUserOption(string className, int optionId) => DhcpServerOption.GetUserOption(Server, className, optionId);
/// <summary> /// Queries the DHCP Server for the specified OptionId 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 to retrieve</param> /// <returns>A <see cref="IDhcpServerOption"/>.</returns> public IDhcpServerOption GetUserOption(string className, DhcpServerOptionIds optionId) => DhcpServerOption.GetUserOption(Server, className, (int)optionId);
/// <summary> /// Queries the DHCP Server for the specified OptionId 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 to retrieve</param> /// <returns>A <see cref="DhcpServerOption"/>.</returns> public DhcpServerOption GetUserOption(string ClassName, int OptionId) { return(DhcpServerOption.GetUserOption(this, OptionId, ClassName)); }