/// <summary> /// Queries the DHCP Server for the specified OptionId Value within a Vendor 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 GetVendorOptionValue(string vendorName, DhcpServerOptionIds optionId) => DhcpServerOptionValue.GetGlobalVendorOptionValue(Server, vendorName, (int)optionId);
/// <summary> /// Queries the DHCP Server for the specified OptionId Value within a Vendor Class /// </summary> /// <param name="VendorName">The name of the Vendor 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 GetVendorOptionValue(string VendorName, int OptionId) { return(DhcpServerOptionValue.GetGlobalVendorOptionValue(this, OptionId, VendorName)); }