private void ValidateCreateOptionArguments(DhcpServerOptionElementType providedType, int valueCount = 1)
 {
     if (ValueType != providedType)
     {
         throw new ArgumentException($"Option {OptionId} ({Name}) requires value type {ValueType} not {providedType}");
     }
     if (valueCount == 0)
     {
         throw new ArgumentOutOfRangeException("At least one value is required");
     }
     if (valueCount > 1 && IsUnaryOption)
     {
         throw new ArgumentOutOfRangeException($"Option {OptionId} ({Name}) is unary and cannot accept multiple values");
     }
 }
 internal DhcpServerOptionElementBinary(DhcpServerOptionElementType type, byte[] value)
 {
     this.type = type;
     RawValue  = value;
 }
 private DhcpServerOptionElementBinary(DhcpServerOptionElementType Type, byte[] Value)
 {
     this.type     = Type;
     this.RawValue = Value;
 }