Detect which Windows Version is Pro and Workstation

Everything else that doesn't fall into one of the other PB categories.
hoangdiemtinh
User
User
Posts: 97
Joined: Wed Nov 16, 2022 1:51 pm

Detect which Windows Version is Pro and Workstation

Post by hoangdiemtinh »

I'm new to PB.
My primary language is not US/UK. I am using Google Translate.

I have installed "Windows 10 Pro" and "Windows 10 for Workstations" on 2 computers.
How do I detect which Windows Version is Pro and Workstation ?
Thanks.
PC: Windows 10 x64, 8GB RAM. PB ver: 6.x
--
I love PB5 vs PB6 :)
boddhi
Enthusiast
Enthusiast
Posts: 524
Joined: Mon Nov 15, 2010 9:53 pm

Re: Detect which Windows Version is Pro and Workstation

Post by boddhi »

Hello,

Try this.
If my English syntax and lexicon are incorrect, please bear with Google translate and DeepL. They rarely agree with each other!
Except on this sentence...
hoangdiemtinh
User
User
Posts: 97
Joined: Wed Nov 16, 2022 1:51 pm

Re: Detect which Windows Version is Pro and Workstation

Post by hoangdiemtinh »

boddhi wrote: Sat May 18, 2024 10:05 am Hello,

Try this.
How is the above code different from the Embedded Function?

https://www.purebasic.com/documentation ... rsion.html
PC: Windows 10 x64, 8GB RAM. PB ver: 6.x
--
I love PB5 vs PB6 :)
Post Reply