Win32 Registry | GitLocker.com Product

win32_registry

Last updated:

0 purchases

win32_registry Image
win32_registry Images
Add to Cart

Description:

win32 registry

A package that provides a friendly Dart API for accessing the Windows Registry.
This package builds on top of the Dart win32 package,
offering a high-level Dart wrapper that avoids the need for users to understand
FFI or write directly to the Win32 API.
Usage #
A simple example that reads the Windows build number from the Windows Registry:
import 'package:win32_registry/win32_registry.dart';

void main() {
const keyPath = r'Software\Microsoft\Windows NT\CurrentVersion';
final key = Registry.openPath(RegistryHive.localMachine, path: keyPath);

final buildNumber = key.getValueAsString('CurrentBuild');
if (buildNumber != null) {
print('Windows build number: $buildNumber');
}

key.close();
}
copied to clipboard
More examples can be found in the example subdirectory.

License:

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

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.