https://bugzilla.novell.com/show_bug.cgi?id=644501
https://bugzilla.novell.com/show_bug.cgi?id=644501#c0 Summary: System.Net.ICredentialsByHost error Classification: Mono Product: MonoDroid Version: SVN Platform: x86-64 OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: Runtime AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3 The following code: SmtpClient client = new SmtpClient("mail.somecompany.com", 25); client.Credentials = new NetworkCredential("[email protected]", "password"); gives error: " Cannot implicitly convert type 'System.Net.NetworkCredential' to 'System.Net.ICredentialsByHost'. An explicit conversion exists (are you missing a cast?). " Reproducible: Always Steps to Reproduce: 1. Past attached code into Visual studio 2. Gives error in editor 3. Actual Results: Gives error "Cannot implicitly convert type 'System.Net.NetworkCredential' to 'System.Net.ICredentialsByHost'. An explicit conversion exists (are you missing a cast?). " -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
