halildurmus/win32_registry
Windows 레지스트리에 접근하고 관리하기 위한 현대적이고 타입 안정적인 Dart API입니다.
- Stars
- 42
- Forks
- 8
- 최근 푸시(UTC)
- 2026. 2. 26.
- 프로젝트 상태
- 보관됨
기술 주제
사용 중인 의존성
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
README 펼치기 / 접기
This package has moved
The package can now be found at https://github.com/halildurmus/win32/tree/main/packages/win32_registry
ci Package: win32_registry Publisher: halildurmus.dev Language: Dart License: BSD-3-Clause codecov
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.