# DeviceVersioningInfo

Namespace: **Wisej.Hybrid**

Assembly: **Wisej.Hybrid** (3.5.0.0)

* [DeviceInfoBase](https://docs.wisej.com/hybrid/start/api/general/wisej.hybrid.core.deviceinfobase)
  * [DeviceVersioningInfo](https://docs.wisej.com/hybrid/start/api/system/wisej.hybrid.deviceversioninginfo)

Provides information about the application version.

{% tabs %}
{% tab title="C#" %}

```csharp
public class DeviceVersioningInfo : DeviceInfoBase
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class DeviceVersioningInfo
    Inherits DeviceInfoBase
```

{% endtab %}
{% endtabs %}

Access this class through the [Info](https://docs.wisej.com/hybrid/start/general/wisej.hybrid.device#info) singleton.

## Constructors

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)DeviceVersioningInfo()

Creates a new instance of [DeviceVersioningInfo](https://docs.wisej.com/hybrid/start/api/system/wisej.hybrid.deviceversioninginfo).

## Properties

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)BuildHistory

[String\[\]](https://docs.microsoft.com/dotnet/api/system.string): Gets the collection of build numbers of the app that ran on this device.

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)CurrentBuild

[String](https://docs.microsoft.com/dotnet/api/system.string): Gets the current build of the app.

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)CurrentVersion

[String](https://docs.microsoft.com/dotnet/api/system.string): Gets the current version number of the app.

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)FirstInstalledBuild

[String](https://docs.microsoft.com/dotnet/api/system.string): Gets the build number of first version of the app that was installed on this device.

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)FirstInstalledVersion

[String](https://docs.microsoft.com/dotnet/api/system.string): Gets the version number of the first version of the app that was installed on this device.

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)IsFirstLaunchEver

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Gets a value indicating whether this is the first time this app has ever been launched on this device.

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)IsFirstLaunchForCurrentBuild

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Gets a value indicating if this is the first launch of the app for the current build number.

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)IsFirstLaunchForCurrentVersion

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Gets a value indicating if this is the first launch of the app for the current version number.

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)PreviousBuild

[String](https://docs.microsoft.com/dotnet/api/system.string): Gets the build number for the previously run version.

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)PreviousVersion

[String](https://docs.microsoft.com/dotnet/api/system.string): Gets the version number for the previously run version.

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)VersionHistory

[String\[\]](https://docs.microsoft.com/dotnet/api/system.string): Gets the collection of version numbers of the app that ran on this device.

## Methods

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)OnWebUpdate(info)

Populates and updates [DeviceVersioningInfo](https://docs.wisej.com/hybrid/start/api/system/wisej.hybrid.deviceversioninginfo) with device information.

| Parameter | Type                                                          | Description              |
| --------- | ------------------------------------------------------------- | ------------------------ |
| **info**  | [Object](https://docs.microsoft.com/dotnet/api/system.object) | The dynamic info object. |
