Is there a native C# (managed) way to add a printer to Windows? I've found a reference to using
[DllImport("winspool.drv",CharSet=CharSet.Auto)]
private static extern IntPtr AddPrinter(string myserver,
uint dwLevel, ref PRINTER_INFO_2 pi );
But I'd rather avoid linking into the unmanaged library. Is this my only option for adding a printer in .NET 2.0?