win32_registry
Windows レジストリにアクセスして管理するための現代的で型安全な Dart API。
- スター
- 42
- フォーク
- 8
- 最終プッシュ(UTC)
- 2026/02/26
- プロジェクト状態
- アーカイブ済み
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
This package has moved
The package can now be found at https://github.com/halildurmus/win32/tree/main/packages/win32_registry
A modern, type-safe Dart API for accessing and managing the Windows Registry.
This package builds on top of the package:win32 and provides a high-level abstraction over native registry APIs. It eliminates the need to work directly with FFI, raw pointers, or low-level Win32 calls while preserving performance and correctness.
✨ Features
- Key Management — Create, open, delete, and rename registry keys.
- Typed Values — Read and write strings, integers, binary data, and multi-string values using strongly typed APIs.
- Change Monitoring — Listen for registry modifications.
- Metadata Queries — Inspect subkeys, values, sizes, and timestamps.
- Transaction Support — Perform registry operations atomically.
🚀 Getting Started
Add the package to your pubspec.yaml:
dependencies:
win32_registry: ^3.0.0
Then import it:
import 'package:win32_registry/win32_registry.dart';
⚡ Quick Example
Reads the Windows build number from the registry:
void main() {
final key = LOCAL_MACHINE.open(
r'Software\Microsoft\Windows NT\CurrentVersion',
);
final buildNumber = key.getString('CurrentBuild');
if (buildNumber != null) {
print('Windows build number: $buildNumber');
}
key.close();
}
📝 Documentation
Full API reference is available here:
Additional usage examples are located in the example directory.
🐞 Features and Bugs
If you encounter bugs or need additional functionality, please file an issue.
カテゴリー
使用している依存関係
プロジェクトに合うリポジトリを選ぶには?
用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
- 名前・作者・説明で検索し、技術トピックで絞り込みます。
- スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
- 利用前に GitHub で README、ライセンス、Issues を確認します。
情報源と管理
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗