I found a really great pipeline component for PGP encode and decode in the Pro BizTalk 2006 book (APress). The code written in the book is in VB.Net, but the code available online does have a more complete version and is written in C# (so buy the book online or at Borders/BNoble to get access – retail $49). Note that this code does require some reworking depending on your circumstance but should be a really great start for creating a custom pipeline component for encode and decode stages in a pipeline.
Now a question for the 'really, really smart folks' who read this forum. The component works great in debug mode in VStudio – consumes a file, encodes it then places the encoded result in a new file. However in deployed mode it throws an error that the license file cannot be found.
If you have used PGP before, do you have any suggestions for possible solutions? I have attached the BT exe and walked through the VStudio code, but cannot find anything except the error (suggestions about what to look for there that I may be missing?).
John