Show / Hide Table of Contents

Class SerialNr

Helper functions that can check SuperOffice serial numbers for validity.

Inheritance
Object
SerialNr
Namespace: SuperOffice.License
Assembly: SoLicense.dll
Syntax
public static class SerialNr : Object

Methods

IsDemoSerialNr(String)

Verify that serial number is a demo serial number.

Declaration
public static bool IsDemoSerialNr(string serialNr)
Parameters
Type Name Description
String serialNr

10 digit serial number (1010000014)

Returns
Type Description
Boolean

True if last 5 digits (excluding the final checkdigit) are all 0. (e.g. 101000006)

IsValidSerialNr(String)

Verify that serial number has valid checkdigit.

Declaration
public static bool IsValidSerialNr(string serialNr)
Parameters
Type Name Description
String serialNr

10 digit serial number (1010000014)

Returns
Type Description
Boolean

True if last digit matches checksum of the first four digits

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top