question

Patryk avatar image
0 Likes"
Patryk asked Jeanette F commented

Check server license

Is it possible to read the entered value in the server license ID using the code?

Or in some other way see the available server license but not whether it is there but its code

1708501716853.png

FlexSim 23.2.3
codelicenseslicesnse server
1708501716853.png (13.8 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image Joerg Vogel commented ·
@Patryk, which type of license and features do you want to explore? Licenses are a kind of high confidential class of data. You won’t get access to it by simply inserting an IP address in a browser.
0 Likes 0 ·
Patryk avatar image Patryk Joerg Vogel commented ·

I want to check if it is possible to check the currently available server license code. To connect to the server license, enter the address. Now, is it possible to use script to see what code is currently entered? Because I can't find it in view. 1708504688769.png

1708504750176.png

My second question is whether it is possible to display information, similarly to the stand-alone license

0 Likes 0 ·
1708504688769.png (58.1 KiB)
1708504750176.png (8.8 KiB)
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Patryk, was Jeanette F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jeanette F avatar image
1 Like"
Jeanette F answered Ben Wilson commented

Hello @Patryk,

You cannot see the server license information like the standalone license from the client PC.

The most similar things you could do is check license features with licensehasfeature() which will return a 1 or 0 if the software is licensed to have access to a particular feature. The features are all constraints that start with CLF_

1708534223367.png

You can also go to the help menu and select " About FlexSim". You will then see what modules are licensed.

You can also use a command to print the license type to a node in a tree. (The "so" is the text node in the tree that you want to write to).

applicationcommand("getsysteminfo", 7, so);

1708534223367.png (23.1 KiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Patryk avatar image Patryk commented ·

I see . one more question. Is it possible to read the saved information in the "License Server" tab using the code? I don't see a reference to this particular information in the view tree

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ Patryk commented ·

Hi @Patryk,

Like other user settings, the licensing settings are saved to your prefs.t file, which are loaded in FlexSim's environment node.

In this image I show an example of using the tree search functionality to find the nodes you're looking for:

1708605567396.png

0 Likes 0 ·
1708605567396.png (178.3 KiB)