Re: How to hide code in the assembly?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Carlos J. Quintero [.NET MVP] (carlosq_at_NOSPAMsogecable.com)
Date: 03/03/05


Date: Thu, 3 Mar 2005 11:29:52 +0100

Hi again,

1) Why don´t you use the SMTP server of the user instead of yours? That
would avoid authentication...

2) If you really need it, then you can encrypt that data so it is no so
easily seen with a decompiler.

-- 
Carlos J. Quintero
MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
"Sharon" <Sharon@discussions.microsoft.com> escribió en el mensaje 
news:DBB703A4-25E9-4A0D-8907-0971F78FB7AD@microsoft.com...
> Actually by problem is a bit different then I posted.
> I'm sending mail form the assembly, and for that I'm doing authentication
> like that:
>
> MailMessage MyMail = new MailMessage();
> MyMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 
> "1");
> MyMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", 
> "UserName");
> MyMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", 
> " password");
>
> And by using the tool I mentioned before, this user name and password can 
> be
> seen Easley.
>
> How can I hide this data?
> 


Relevant Pages

  • RE: Problem Sending email form web form
    ... > before you can send email using the SMTP server. ... > Some SMTP servers need authentication to restrict/authorize usage of the ... >> Is there anything I can do to avoid this? ... >> Thanks, Justin. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to hide code in the assembly?
    ... I’m sending mail form the assembly, and for that I’m doing authentication ... MailMessage MyMail = new MailMessage; ... Sharon G. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to hide code in the assembly?
    ... I’m sending mail form the assembly, and for that I’m doing authentication ... MailMessage MyMail = new MailMessage; ... seen Easley. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Ask EU mail sending message
    ... I never look for a new SMTP server when I change ... connectivity but who is providing my email account. ... username/password authentication* for writing. ... changed just because you terminated a contract with some ISP. ...
    (uk.media.radio.archers)
  • Re: RELAY MAIL
    ... POP and SMTP server, I only can use Microsoft exchange server inside my ... account of my domain, and I tried to use my domain SMTP server pointing the ... the SMTP server suppose to refuse to relay mail from 1 account that doesn't ... Click on Authentication button: ...
    (microsoft.public.exchange2000.protocols)