Show / Hide Table of Contents

# Class IgniteProductVersion

Represents node version.

##### Inheritance

System.Object
IgniteProductVersion

##### Implements

System.IEquatable<IgniteProductVersion>
System.IComparable<IgniteProductVersion>

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()

###### Namespace: Apache.Ignite.Core.Common

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public class IgniteProductVersion : IEquatable<IgniteProductVersion>, IComparable<IgniteProductVersion>

### Constructors

#### IgniteProductVersion(Byte, Byte, Byte, String, DateTime, Byte[])

Constructor.

##### Declaration

    public IgniteProductVersion(byte major, byte minor, byte maintenance, string stage, DateTime releaseDate, byte[] revHash)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Byte | major | Major version number.
System.Byte | minor | Minor version number.
System.Byte | maintenance | Maintenance version number.
System.String | stage | Stage of development.
System.DateTime | releaseDate | Revision date.
System.Byte[] | revHash | Revision hash.

### Properties

#### Maintenance

Gets the maintenance version number.

##### Declaration

    public byte Maintenance { get; }

##### Property Value

Type | Description
--- | ---
System.Byte |

#### Major

Gets the major version number.

##### Declaration

    public byte Major { get; }

##### Property Value

Type | Description
--- | ---
System.Byte |

#### Minor

Gets the minor version number.

##### Declaration

    public byte Minor { get; }

##### Property Value

Type | Description
--- | ---
System.Byte |

#### ReleaseDate

Gets the release date.

##### Declaration

    public DateTime ReleaseDate { get; }

##### Property Value

Type | Description
--- | ---
System.DateTime |

#### RevisionHash

Gets the revision hash

##### Declaration

    public byte[] RevisionHash { get; }

##### Property Value

Type | Description
--- | ---
System.Byte[] |

#### Stage

Gets the stage of development.

##### Declaration

    public string Stage { get; }

##### Property Value

Type | Description
--- | ---
System.String |

### Methods

#### CompareTo(IgniteProductVersion)

##### Declaration

    public int CompareTo(IgniteProductVersion other)

##### Parameters

Type | Name | Description
--- | --- | ---
IgniteProductVersion | other |

##### Returns

Type | Description
--- | ---
System.Int32 |

#### Equals(IgniteProductVersion)

##### Declaration

    public bool Equals(IgniteProductVersion other)

##### Parameters

Type | Name | Description
--- | --- | ---
IgniteProductVersion | other |

##### Returns

Type | Description
--- | ---
System.Boolean |

#### GetHashCode()

##### Declaration

    public override int GetHashCode()

##### Returns

Type | Description
--- | ---
System.Int32 |

##### Overrides

System.Object.GetHashCode()

#### ToString()

##### Declaration

    public override string ToString()

##### Returns

Type | Description
--- | ---
System.String |

##### Overrides

System.Object.ToString()

### Implements

System.IEquatable<T>
System.IComparable<T>