PGP Using Bouncy Castle Libraries

PGP Using Bouncy Castle Libraries I went a bit crazy trying to find useful code for using the Bouncy Castle libraries for PGP and so here is the result of combing the examples and the web and cleaning and rewriting what I was able to find into ultimately a working model that can do everything that I needed it to do (and a little more). Files for pgpClassLib which contains the core…

Continue Reading PGP Using Bouncy Castle Libraries

All fields in a SQL Server Database with the same data type

SELECT OBJECT_NAME(c.OBJECT_ID) TableName , AS ColumnName ,SCHEMA_NAME(t.schema_id) AS SchemaName , AS TypeName ,t.is_user_defined ,t.is_assembly_type ,c.max_length ,c.PRECISION ,c.scale FROM sys.columns AS c JOIN sys.types AS t ON c.user_type_id=t.user_type_id WHERE = 'varchar' and c.max_length = 40 ORDER BY c.OBJECT_ID

Continue Reading All fields in a SQL Server Database with the same data type

Hosting Companies

I'm a windows and kind of guy. I've used hosting companies for a long time. For the last 5 years or so I've been with 1and1. They were fine until I tried to do anything beyond the very basic. Their tech support is unbelievably bad. They answer the phone quickly enough, but you are obviously talking over VOIP to someone who is not a native English speaker who is reading from…

Continue Reading Hosting Companies

EventLog.WriteEntry Issues

If you're trying to use EventLog.WriteEntry to enter events for your Windows or Web Services with Windows Server 2003 or 2008 you'll run into problems with access rights.

Continue Reading EventLog.WriteEntry Issues