IOLink C# 1.11.0
Loading...
Searching...
No Matches
IOLink.Versioning Class Reference

Versioning tool to check library infos. More...

Inheritance diagram for IOLink.Versioning:

Public Member Functions

 Versioning (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 

Static Public Member Functions

static global::System.Runtime.InteropServices.HandleRef getCPtr (Versioning obj)
 
static global::System.Runtime.InteropServices.HandleRef swigRelease (Versioning obj)
 
static VersionInfo Version ()
 Return the version of the currently loaded IOLink library.
 
static string VersionString ()
 Return a description string of the currently loaded IOLink library.
 
static bool CheckCompatibility (VersionInfo version)
 Check if the loaded library'version is compatible with the given one.
 
static bool CheckCompatibility ()
 Check if the loaded library is compatible with the one defined in the header.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

Versioning tool to check library infos.

Member Function Documentation

◆ CheckCompatibility()

static bool IOLink.Versioning.CheckCompatibility ( VersionInfo  version)
inlinestatic

Check if the loaded library'version is compatible with the given one.

A version is compatible if:

  • The major version is the same
  • The library minor version is greater than the given one.
    Parameters
    versionThe version to check compatibility for.

The documentation for this class was generated from the following file: