win32_registry 2.0.1 copy "win32_registry: ^2.0.1" to clipboard
win32_registry: ^2.0.1 copied to clipboard

A package that provides a friendly Dart API for accessing the Windows Registry.

example/main.dart

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.getStringValue('CurrentBuild');
  if (buildNumber != null) print('Windows build number: $buildNumber');

  key.close();
}
55
likes
160
points
2.27M
downloads

Publisher

verified publisherhalildurmus.dev

Weekly Downloads

A package that provides a friendly Dart API for accessing the Windows Registry.

Repository (GitHub)
View/report issues
Contributing

Topics

#registry #win32 #ffi #windows

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi, meta, win32

More

Packages that depend on win32_registry