Results 1 to 34 of 34

Thread: OS Version information class

Threaded View

  1. #1

    Thread Starter
    Member Dragokas's Avatar
    Join Date
    Aug 2015
    Location
    Ukraine on fire (country of slaves)
    Posts
    750

    OS Version information class

    WinAPI based.
    Can show such information, like:

    Code:
    OS Name: Windows 10
    Service Pack ver.: 0
    Is Server? False
    Bitness: x64
    Is Win x64: True
    Is Win x32: False
    Edition: Pro
    Suite mask: SingleUserTS
    ProductType: Workstation
    PlatformID: 2 (WinNT)
    Is Domain controller: False
    Is Embedded: False
    OS - XP/Server 2003(R2)? False
    OS - Vista/Server 2008? False
    OS - 7/Server 2008R2? False
    OS - 8/Server 2012? False
    OS - 8.1/Server 2012R2? True
    OS - 10/Server 2016? True
    OS - XP or newer? True
    OS - XP SP3 or newer? True
    OS - Vista or newer? True
    OS - 7 or newer? True
    OS - 8 or newer? True
    OS - 8.1 or newer? True
    OS - 10 or newer? True
    OS - 11 or newer? False
    Major: 10
    Minor: 0
    Major + Minor:         10
    Major + Minor (NtDll): 10
    Build: 19045
    NT Dll Major.Minor.Rev: 10.0.2661
    Revision: 3570
    ReleaseId: 2009
    DisplayVersion: 22H2
    Language in dialogues: 1049 RU Russian
    Language of OS inslallation: 1049 RU Russian
    Language for non-Unicode programs: 1049 RU Russian
    ID of default locale: 8192
    Process integrity level: Medium
    Elevated process? False
    Is Local system context? False
    User name: admin
    User group: Administrators
    Is in Admin group? True
    User sid of current process owner: S-1-5-21-2880098541-1527459233-1868265087-1001
    Computer name: DESKTOP-QHB2VSF
    Safe boot? False (Normal)
    Secure Boot supported? False (Enabled? False)
    TestSigning: False
    DebugMode: False
    CodeIntegrity: False
    File System Case sensitive? False
    OEM Codepage: 866 (c_866.nls)
    ANSI Codepage: 1251 (c_1251.nls)
    Memory MiB (Free/Total): 2928/7167 (Loaded: 59%)
    CPU usage: 3,7%
    Requirements:
    To get reliable result you have to add application manifest with compatibility section. Details are available here.
    Manifest is already included in the example attached.

    Compatibility
    Windows 2000 - 11 (client and server) / Compiled and IDE mode (VB6).
    x64 VBA / x64 twinBasic compatibility added (thanks to fafalone). For the most recent x64 IDE version, refer to: https://github.com/fafalone/OSInfo
    Attached Files Attached Files
    Last edited by Dragokas; Oct 23rd, 2023 at 11:40 AM. Reason: new version
    Malware analyst, VirusNet developer, HiJackThis+ author || my CodeBank works

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width