私はGnuPGとC#を使って、インポートされた公開鍵でファイルを暗号化します。しかし、暗号化しようとすると、GnuPGはメインユーザの公開鍵でファイルを暗号化します。私は正しい受信者を渡すと確信しています。 何か助けていただければ幸いです。おかげさまで GnuPG Wrapper with C#
答えて
C#(とVB.NET)用のオープンソースと無料のGnuPGラッパーを試すことができます。すべてのコードはMIT、GPL以外の制限によりライセンスされています。リリースはCodePlexでソースコードで見つけることができます。 GPGライブラリを見つけるためにAlphaリリースを探します。
例:
GnuPG gpg = new GnuPG();
gpg.Recipient = "[email protected]";
FileStream sourceFile = new FileStream(@"c:\temp\source.txt", FileMode.Open);
FileStream outputFile = new FileStream(@"c:\temp\output.txt", FileMode.Create);
// encrypt the data using IO Streams - any type of input and output IO Stream can be used
gpg.Encrypt(sourceFile, outputFile);
こんにちは、このソリューションは、gpg2.exeが動作を停止しているため、Windowsサービスからこのエラーが発生しています。 – Umamaheswaran
このコンポーネントは放棄されています... 2012年9月9日からコメントがありますstarksoft.comのサイトにはありますが、そこには何もありません(さらに別のサイトにリダイレクトされます)。 –
コードはすべてCodePlexでホストされています。そこに行って、BikoライブラリのAlphaリリースを入手してください。それは放棄されていません。 – Benton
- 1. Perl CGI with C Wrapper
- 2. GnuPG with MySQL
- 3. C#Ghostscript Wrapper
- 4. Java Wrapper Script with sudo does not work
- 5. XMLライブラリのC++ 'wrapper class'
- 6. DelphiサービスのGnuPGとCreateProcess
- 7. "with with macro" C
- 8. xs:any wrapper xml schema validation
- 9. gpg with powershell - パスフレーズセキュリティ
- 10. C#、static with const with
- 11. Bitmap with OpenGL with C#
- 12. Redis Foreign Data Wrapper
- 13. PropertyGrid - Collection Edition/Wrapper
- 14. Java "tail -f" wrapper
- 15. ios twitter wrapper
- 16. AngularJS Wrapper Html
- 17. C#UITypeEditor with Parameter
- 18. LibXml2 with C/C++
- 19. SOAP with Attachment(SwA)with C#
- 20. 。nearest with with()
- 21. C#WebClient with https
- 22. ReadProcessMemory with C#
- 23. OpenCV C++ with Android
- 24. OpenGL with Visual C++
- 25. C#generics with interfaces
- 26. C#foreach with Action.BeginInvoke
- 27. C#Redis with ServiceStackRedis
- 28. 2Dリアルタイムプロットwith C
- 29. Silverlight with C++。Net
- 30. C#with Connector/NET
私は重複に反対する - 他が使用する実装の提案を求めていたのに対し、これは特定の実装を指します。 –