windows_system_info

Creator: coderz1093

Last updated:

Add to Cart

Description:

windows system info

windows_system_info
A Dart package to get detailed information of windows machine.
Features #
Supported platform:
Windows
(it will be better if there is powershell)



Getter
Type
Desc




userName
String
user's profile name


windowsSystemInformation
AllInfo?
complete information about details


windowsSystemStaticInformation
DeviceStaticinfo?
all static information of device


deviceName
String
device name


is64bit
bool
true if 64 bit os is installed


is32bit
bool
true if 32 bit os isntalled


isInitInProgress
bool
true if initializing is in progress


isInitilized
Future bool
true once initilisation completed


disks
List(DiskLayoutInfo)
info like hdds,ssd attached to device


graphics
GraphicsInfo
will return graphics related information of device


memories
List(MemoryInfo)
will get a list of memory(ram) attached to device


network
List(NetworkInfo)
will get detail of network adapter ie:focused on mac address


baseBoard
BaseBoardInfo?
return information of base board of device


chassis
ChassisInfo?
return infomation of chassis of device,like laptop, manufacturer etc...


system
SystemInfo?
will return basic system information, like manufacturer etc...


os
OsInfo?
will return operating system information, like version of windows, build etc...


bios
BiosInfo?
return bios information



Enums (WindowsSystemInfoFeat) #



Name
Desc




all
default, all information


diskLayout
disklayout information


username
only username


gpu
gpu and display


memory
memory details


network
network details


baseboard
baseboard details


chassis
chassis details


cpu
cpu details


system
system details


bios
bios details


os
os details



Getting started #


include latest windows_system_info package


import it


import 'package:windows_system_info/windows_system_info.dart';
copied to clipboard

initialize

await WindowsSystemInfo.initWindowsInfo(requiredValues: [WindowsSystemInfoFeat.cpu]);
copied to clipboard

get values using getter

WindowsSystemInfo.cpu
copied to clipboard
Usage #
@override
void initState() {
super.initState();
initInfo();
}

Future<void> initInfo() async {
await WindowsSystemInfo.initWindowsInfo();
if (await WindowsSystemInfo.isInitilized) {
print(WindowsSystemInfo.cpu);
}
}
copied to clipboard
Additional information #
Before contributing...
Always welcome PR, but make sure warning is mininmum and follow darts guide lines for coding and documention. Always try to add comment about expected output, logic etc...


Inspired from js systeminformation package

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.