@@ -107,9 +107,20 @@ Opens a file in the default application for its type on Windows, macOS, and Linu
107107| --- | --- | --- |
108108| fullPath | <code >string</code > | The path to the file/folder to open. |
109109
110- <a name =" addDeviceLicense " ></a >
110+ <a name =" getDeviceID " ></a >
111111
112- ## addDeviceLicense() ⇒ <code >Promise.< ; boolean> ; </code >
112+ ## getDeviceID() ⇒ <code >Promise.< ; (string\| null)> ; </code >
113+ gets the os device id. this usually won't change till os reinstall.
114+
115+ ** Kind** : global function
116+ ** Returns** : <code >Promise.< ; (string\| null)> ; </code > - - Resolves with the os identifier or null
117+ ** Throws** :
118+
119+ - <code >Error</code > - If called from the browser
120+
121+ <a name =" addDeviceLicenseSystemWide " ></a >
122+
123+ ## addDeviceLicenseSystemWide() ⇒ <code >Promise.< ; boolean> ; </code >
113124Enables device license by creating a system-wide license file.
114125On Windows, macOS, and Linux this will request elevation if needed.
115126
@@ -119,9 +130,9 @@ On Windows, macOS, and Linux this will request elevation if needed.
119130
120131- <code >Error</code > - If called from the browser
121132
122- <a name =" removeDeviceLicense " ></a >
133+ <a name =" removeDeviceLicenseSystemWide " ></a >
123134
124- ## removeDeviceLicense () ⇒ <code >Promise.< ; boolean> ; </code >
135+ ## removeDeviceLicenseSystemWide () ⇒ <code >Promise.< ; boolean> ; </code >
125136Removes the system-wide device license file.
126137On Windows, macOS, and Linux this will request elevation if needed.
127138
@@ -131,16 +142,11 @@ On Windows, macOS, and Linux this will request elevation if needed.
131142
132143- <code >Error</code > - If called from the browser
133144
134- <a name =" isLicensedDevice " ></a >
145+ <a name =" isLicensedDeviceSystemWide " ></a >
135146
136- ## isLicensedDevice() ⇒ <code >Promise.< ; boolean> ; </code >
137- Checks if the current machine is licensed.
138- This validates that the system-wide license file exists,
139- contains valid JSON, and has ` licensedDevice: true ` .
147+ ## isLicensedDeviceSystemWide() ⇒ <code >Promise.< ; boolean> ; </code >
148+ Checks if the current machine is configured to check for system-wide device license for all users at app start.
149+ This validates that the system-wide license file exists, contains valid JSON, and has ` licensedDevice: true ` .
140150
141151** Kind** : global function
142152** Returns** : <code >Promise.< ; boolean> ; </code > - - Resolves with ` true ` if the device is licensed, ` false ` otherwise.
143- ** Throws** :
144-
145- - <code >Error</code > - If called from the browser.
146-
0 commit comments