peSHIr.License
1.0.0
Prefix Reserved
dotnet add package peSHIr.License --version 1.0.0
NuGet\Install-Package peSHIr.License -Version 1.0.0
<PackageReference Include="peSHIr.License" Version="1.0.0" />
<PackageVersion Include="peSHIr.License" Version="1.0.0" />
<PackageReference Include="peSHIr.License" />
paket add peSHIr.License --version 1.0.0
#r "nuget: peSHIr.License, 1.0.0"
#:package peSHIr.License@1.0.0
#addin nuget:?package=peSHIr.License&version=1.0.0
#tool nuget:?package=peSHIr.License&version=1.0.0
About
What's this?
Basic .NET library to help with using the lmutil.exe
licensing commandline tool that is part of FlexNet Publisher by Flexera.
Who created this?
My name is Jarno Peschier. I started programming on a Commodore 64 in high school, got a masters degree in Computer Science at Utrecht University at the end of the last century, specializing in GIS algorithms, and I have been developing software all my professional life.
You might also know me by my online name of peSHIr
, which is basically the way you write my last name phonetically in Klingon.
At the start of 2025 I worked as a software engineer at Dutch engineering firm Iv, where I personally handled all software development around our scan vehicle (YouTube) using multiple third party software packages, C#, and PowerShell.
The laserscan and photo data Iv collects using this vehicle is used in infrastructure projects all over the Netherlands, but also for monitoring things like trees or quay walls in Amsterdam.
How do I use it?
Call static methods on LmutilTools
to interact with an existing installation of lmutil.exe
:
using peSHIr.License;
using peSHIr.Progress;
//...
IShowProgress? ui = null; // optional parameter, e.g. a peSHIr.CmdLine.ConsoleProgress instance
//...
var version = LmutilTools.RetrieveToolVersion(ui); // retrieve information about the tool executable
LmutilTools.RetrieveLicenseUse("PORT@SERVER", ui); // retrieve information about licenses
If your lmutil.exe
does not live in one of a couple of standard locations where it could be according to my knowledge, you can add a location you do know about in the following way before actually using further LmutilTools
static methods:
using peSHIr.License;
//...
LmutilTools.AddToolFolder(@"C:\path\to\your\lmutil.exe"); // tell LmutilTools where your lmutil.exe is (if needed)
Other methods should then be able to find and execute it for you.
That's it, really.
Download
This library is available as a NuGet package on https://nuget.org. To install it, use the following command-line:
dotnet add package peSHIr.License
License and Versioning
This library is licensed under the MIT License - please see the LICENSE file for details - and makes use of Semantic Versioning to try and give meaning to the version numbers, at least for the non-prereleased stuff.
Credits
This library wouldn't have been possible without the following:
- FlexNet Publisher - A license manager used by multiple large software applications
- SAFE Software - Some background info from their FME documentation
- Citrix - Some background info from their documentation
- Matlab - Some background info from their documentation
- xUnit - Community-focused unit testing tool for .NET by Brad Wilson
- FluentAssertions - Support library for using fluent unit test assertions by Dennis Doomen
- Polysharp - Generated, source-only polyfills for C# language features by Sergio Pedri
- peSHIr.Core - Hey, that sounds familiar...? It's by this guy 😉
Show your appreciation for my work
If you like what you see/use you could try one of these links to let me know:
You may also like
- My Link Tree
- My NuGet packages
- My English blog (long dead at the moment..)
- My Dutch blog (long dead at the moment..)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- peSHIr.Core (>= 1.0.1)
-
net8.0-windows7.0
- peSHIr.Core (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0 | 140 | 8/14/2025 |
This code has been relatively stable for a few years now, so many changes from version 1.0.0 are not expected.