Table of Contents

Class LibraryVersion

Namespace
LibSodium
Assembly
LibSodium.Net.dll

Provides methods to retrieve the version information of the Sodium library.

public static class LibraryVersion
Inheritance
LibraryVersion
Inherited Members

Methods

GetMajor()

Gets the major version number of the Sodium library.

public static int GetMajor()

Returns

int

The major version number as an integer.

GetMinor()

Gets the minor version number of the Sodium library.

public static int GetMinor()

Returns

int

The minor version number as an integer.

GetString()

Gets the version string of the Sodium library.

public static string? GetString()

Returns

string

The version string as a string, or null if the string could not be retrieved.