public ObjectModel() { //This Initialize method is needed to link to Windows Server references that are not GACed Microsoft.WindowsServerSolutions.Common.WindowsServerSolutionsEnvironment.Initialize(); m_backend = new ObjectModelImplementation(this); this.PaperSizes.Add("Letter"); this.PaperSizes.Add("Legal"); this.PaperSize = "Letter"; this.ScanSources.Add("Flatbed"); this.ScanSources.Add("Feeder"); this.ScanSource = "Flatbed"; this.ScanDestinations.Add("Email"); this.ScanDestinations.Add("Folder"); this.ScanDestination = "Email"; this.EmailProviders.Add("GMail"); this.EmailProvider = "GMail"; this.Connect(); }