Torna al Thread

private static string DefaultPrinterName() { string functionReturnValue = null; System.Drawing.Printing.PrinterSettings printer = new System.Drawing.Printing.PrinterSettings(); try { functionReturnValue = printer.PrinterName; } catch { functionReturnValue = ""; } finally { printer = null; } return functionReturnValue; }
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5