Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Remove dupe inspect file example
  • Loading branch information
mattosaurus authored Dec 8, 2023
1 parent fd3bab1 commit 2b591c9
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,6 @@ EncryptionKeys encryptionKeys = new EncryptionKeys(publicKey, privateKey, "passw
// Reference input file
FileInfo inputFile = new FileInfo(@"C:\TEMP\Content\encrypted.pgp");

// Inspect
PGP pgp = new PGP();
PgpInspectResult result = await pgp.InspectAsync(inputFile);
```
### Inspect File
```C#
// Load keys
FileInfo publicKey = new FileInfo(@"C:\TEMP\Keys\public.asc");
FileInfo privateKey = new FileInfo(@"C:\TEMP\Keys\private.asc");
EncryptionKeys encryptionKeys = new EncryptionKeys(publicKey, privateKey, "password");

// Reference input file
FileInfo inputFile = new FileInfo(@"C:\TEMP\Content\encrypted.pgp");

// Inspect
PGP pgp = new PGP();
PgpInspectResult result = await pgp.InspectAsync(inputFile);
Expand Down

0 comments on commit 2b591c9

Please sign in to comment.