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