bitlocker

Creator: coderz1093

Last updated:

0 purchases

bitlocker Image
bitlocker Images

Languages

Categories

Add to Cart

Description:

bitlocker

BitLocker Flutter Plugin #

Description #
A Flutter plugin to manage BitLocker drive encryption on Windows platforms. This plugin provides functionalities to check drive status, lock, unlock, enable, and disable BitLocker encryption using Dart.
Table of Contents #

Installation
Usage
Features
API Reference
License
Credits

Installation #
Add the following line to your pubspec.yaml file:
dependencies:
bitlocker: ^latest_version
copied to clipboard
Then run flutter pub get to install the package.
Usage #
Here's a simple example to check the status of a drive:
import 'package:bitlocker/bitlocker.dart';

void main() async {
Bitlocker bitlocker = Bitlocker();

var status = await bitlocker.getDriveStatus(drive: 'C:');
print(status);
}
copied to clipboard
Features #

Check drive status
Lock and unlock drives
Enable and disable BitLocker encryption
Add password protector to BitLocker

API Reference #
Create an instance of the Bitlocker class:
final bitlocker = Bitlocker();
copied to clipboard
getDriveStatus #
Get the BitLocker status of a drive.
Future<BitLockerStatusModel?> getDriveStatus({required String drive})
copied to clipboard
unlockDrive #
Unlock a BitLocker-encrypted drive.
Future<bool> unlockDrive({required String drive, required String password})
copied to clipboard
lockDrive #
Lock a BitLocker-encrypted drive.
Future<void> lockDrive({required String drive, required String password})
copied to clipboard
turnOnBitlocker #
Turn on BitLocker encryption for a drive.
Future<bool> turnOnBitlocker({required String drive})
copied to clipboard
turnOffBitlocker #
Turn off BitLocker encryption for a drive.
Future<bool> turnOffBitlocker({required String drive})
copied to clipboard
addPasswordProtectorToBitlocker #
Add a password protector to a BitLocker-encrypted drive.
Future<bool> addPasswordProtectorToBitlocker({required String password, required String drive})
copied to clipboard
changePassword #
Change the password of a BitLocker-encrypted drive.
Future<void> changePassword({required String drive, required String oldPassword, required String newPassword})
copied to clipboard
resetPassword #
Reset the password of a BitLocker-encrypted drive.
Future<void> resetPassword({required String drive})
copied to clipboard
Note: changePassword and resetPassword methods are currently unimplemented and will throw an UnimplementedError if called.
License #
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.
Credits #
Developed by DreamOrbit.

License

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

Files In This Product:

Customer Reviews

There are no reviews.