I got an exception when call Ecng.Interop.HardwareInfo.Instance.Id
Unhandled exception. System.InvalidOperationException: invalid lsblk result. got 0 values:
at Ecng.Interop.HardwareInfo.GetLinuxVolumeId()
at Ecng.Interop.HardwareInfo.InitIdLinux()
at Ecng.Interop.HardwareInfo..ctor()
at Ecng.Interop.HardwareInfo.<>c.<.cctor>b__14_0()
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy`1.CreateValue()
at System.Lazy`1.get_Value()
at Ecng.Interop.HardwareInfo.get_Instance()
at hddconsole.Program.Main(String[] args) in /home/ec2-user/soft/hdd_info/hddconsole/Program.cs:line 9
Support Hello
1) Console version (command line) LicenseTool will be available on the next version. I will write again when the release will be upload.
2) You can use Ecng.Interop.HardwareInfo.Id to get the HDD id and use it directly on our web site -
https://stocksharp.com/profile/ (Licenses tab in bottom).