Open ajtruckle opened 2 years ago
If you are trying to add this to a DLL which is run by a CAD application, you need to change the way you find the path to the license file:
System.Reflection.Module mod = GetType().Module; string pathlic = Path.Combine(Path.GetDirectoryName(mod.FullyQualifiedName), "license.lic");
If you are trying to add this to a DLL which is run by a CAD application, you need to change the way you find the path to the license file: