bitlocker 1.0.0 copy "bitlocker: ^1.0.0" to clipboard
bitlocker: ^1.0.0 copied to clipboard

A Flutter plugin to manage BitLocker drive encryption on Windows platforms.

BitLocker Flutter Plugin #

Pub Version

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 #

Add the following line to your pubspec.yaml file:

dependencies:
  bitlocker: ^latest_version

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);
}

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();

getDriveStatus #

Get the BitLocker status of a drive.

Future<BitLockerStatusModel?> getDriveStatus({required String drive})

unlockDrive #

Unlock a BitLocker-encrypted drive.

Future<bool> unlockDrive({required String drive, required String password})

lockDrive #

Lock a BitLocker-encrypted drive.

Future<void> lockDrive({required String drive, required String password})

turnOnBitlocker #

Turn on BitLocker encryption for a drive.

Future<bool> turnOnBitlocker({required String drive})

turnOffBitlocker #

Turn off BitLocker encryption for a drive.

Future<bool> turnOffBitlocker({required String drive})

addPasswordProtectorToBitlocker #

Add a password protector to a BitLocker-encrypted drive.

Future<bool> addPasswordProtectorToBitlocker({required String password, required String drive})

changePassword #

Change the password of a BitLocker-encrypted drive.

Future<void> changePassword({required String drive, required String oldPassword, required String newPassword})

resetPassword #

Reset the password of a BitLocker-encrypted drive.

Future<void> resetPassword({required String drive})

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.

0
likes
140
points
23
downloads

Publisher

verified publisherdreamorbit.com

Weekly Downloads

A Flutter plugin to manage BitLocker drive encryption on Windows platforms.

Homepage
Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on bitlocker