Believe me it’s easy. If only you won’t get caught up with the 'Impersonation' word. A lot of sites took me for a jolly ride on the Impersonation road. Here's a demo of the code: using System; using System.IO; using System.Runtime.InteropServices; using System.Net; public class ShareThis { //used in calling WNetAddConnection2 [StructLayout (LayoutKind.Sequential)] public struct NETRESOURCE { public int dwScope;...
Wednesday, February 24, 2010
Thursday, February 18, 2010
February 18, 2010
Every good developer knows never to re-invent the wheel, especially if there is software out there that has been tested by others, and has an established track record. As a developer using the .NET framework I’ve found some of these libraries invaluable, so I’m sharing them for some of the other dev’s out there with a brief outline of how to use. Yedda Twitter Library. URL: http://devblog.yedda.com/index.php/twitter-c-library/ I’ve used this...
Tuesday, February 2, 2010
February 02, 2010

I’m not using NAnt or anything fancy for most of my projects—so I needed a simple, MSBuild way to automate my version numbers in a project.. <tangent> HOLY CRAP! Why isn’t this built into Visual Studio Pro? </tangent> Here we go: 1. Download the latest build of AssemblyInfoTask (download here) (was 1.0.51130.0 for me). ...