C# Class FiftyOne.Foundation.Licence.Product

Represents information about a 51Degrees product.
Mostrar archivo Open project: 51Degrees/dotNET-Device-Detection

Public Properties

Property Type Description
AssemblyVersion byte
Id byte
Quantity byte
Type LicenceTypes
Version byte

Public Methods

Method Description
Product ( ) : System.IO

Constructs an object of type Product.

Product ( byte productId, byte version, byte quantity, LicenceTypes type ) : System.IO

Constructs an object of type Product.

Private Methods

Method Description
Product ( BinaryReader reader ) : System.IO

Constructs an object of type Product.

Write ( BinaryWriter writer ) : void

Persists data about the product.

Method Details

Product() public method

Constructs an object of type Product.
public Product ( ) : System.IO
return System.IO

Product() public method

Constructs an object of type Product.
public Product ( byte productId, byte version, byte quantity, LicenceTypes type ) : System.IO
productId byte Id of the product.
version byte Product version.
quantity byte Number of installations allowed for this product.
type LicenceTypes The type of Licence.
return System.IO

Property Details

AssemblyVersion public_oe property

The version of the assembly.
public byte AssemblyVersion
return byte

Id public_oe property

Holds product id.
public byte Id
return byte

Quantity public_oe property

Number of installation count.
public byte Quantity
return byte

Type public_oe property

The type of Licence for the product.
public LicenceTypes Type
return LicenceTypes

Version public_oe property

Holds product version.
public byte Version
return byte