Author: mhabersack
Date: 2007-12-13 10:38:53 -0500 (Thu, 13 Dec 2007)
New Revision: 91234
Modified:
trunk/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs
trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesAssemblyBuilder.cs
trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesCompiler.cs
trunk/mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs
trunk/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs
trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs
trunk/mcs/class/System.Web/System.Web.Configuration/ChangeLog
trunk/mcs/class/System.Web/System.Web.Configuration/FileMatchingInfo.cs
trunk/mcs/class/System.Web/System.Web.Configuration/MachineKeyRegistryStorage.cs
trunk/mcs/class/System.Web/System.Web.Mail/ChangeLog
trunk/mcs/class/System.Web/System.Web.Mail/MailAddress.cs
trunk/mcs/class/System.Web/System.Web.Mail/MailMessageWrapper.cs
trunk/mcs/class/System.Web/System.Web.Mail/SmtpClient.cs
trunk/mcs/class/System.Web/System.Web/ChangeLog
trunk/mcs/class/System.Web/System.Web/HttpApplication.cs
trunk/mcs/class/System.Web/System.Web/HttpCachePolicy.cs
trunk/mcs/class/System.Web/System.Web/HttpRequest.cs
trunk/mcs/class/System.Web/System.Web/HttpResponse.cs
trunk/mcs/class/System.Web/System.Web/HttpResponseStream.cs
trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs
trunk/mcs/class/System.Web/System.Web/SiteMapNode.cs
Log:
2007-12-13 Marek Habersack <[EMAIL PROTECTED]>
* TemplateControlCompiler.cs, AspComponentFoundry.cs,
AssemblyBuilder.cs, AppResourcesCompiler.cs,
AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
2007-12-13 Marek Habersack <[EMAIL PROTECTED]>
* MailAddress.cs, SmtpClient.cs, MailMessageWrapper.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
2007-12-13 Marek Habersack <[EMAIL PROTECTED]>
* HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
speed optimization - use String.Concat instead of String.Format in
some cases.
2007-12-13 Marek Habersack <[EMAIL PROTECTED]>
* FileMatchingInfo.cs. MachineKeyRegistryStorage.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog 2007-12-13 15:21:48 UTC
(rev 91233)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog 2007-12-13 15:38:53 UTC
(rev 91234)
@@ -1,3 +1,10 @@
+2007-12-13 Marek Habersack <[EMAIL PROTECTED]>
+
+ * HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
+ HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
+ speed optimization - use String.Concat instead of String.Format in
+ some cases.
+
2007-12-13 Igor Zelmanovich <[EMAIL PROTECTED]>
* HttpApplication.cs:
Modified: trunk/mcs/class/System.Web/System.Web/HttpApplication.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpApplication.cs 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web/HttpApplication.cs 2007-12-13
15:38:53 UTC (rev 91234)
@@ -1221,7 +1221,7 @@
internal object LocateHandler (string verb, string url)
{
Hashtable cache = GetHandlerCache ();
- string id = String.Format ("{0}{1}", verb, url);
+ string id = String.Concat (verb, url);
object ret = cache [id];
if (ret != null)
Modified: trunk/mcs/class/System.Web/System.Web/HttpCachePolicy.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpCachePolicy.cs 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web/HttpCachePolicy.cs 2007-12-13
15:38:53 UTC (rev 91234)
@@ -372,16 +372,16 @@
}
} else {
if (MaxAge.TotalSeconds != 0)
- cc = String.Format ("{0}, max-age={1}",
cc, (long) MaxAge.TotalSeconds);
+ cc = String.Concat (cc, ", max-age=",
((long) MaxAge.TotalSeconds).ToString ());
string expires = TimeUtil.ToUtcTimeString
(expire_date);
headers.Add (new UnknownResponseHeader
("Expires", expires));
}
if (set_no_store)
- cc = String.Format ("{0}, no-store", cc);
+ cc = String.Concat (cc, ", no-store");
if (set_no_transform)
- cc = String.Format ("{0}, no-transform", cc);
+ cc = String.Concat (cc, ", no-transform");
headers.Add (new UnknownResponseHeader
("Cache-Control", cc));
Modified: trunk/mcs/class/System.Web/System.Web/HttpRequest.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpRequest.cs 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web/HttpRequest.cs 2007-12-13
15:38:53 UTC (rev 91234)
@@ -1469,8 +1469,8 @@
public override string ToString ()
{
- return string.Format ("ContentType {0}, Name
{1}, Filename {2}, Start {3}, Length {4}",
- ContentType, Name, Filename, Start,
Length);
+ return "ContentType " + ContentType + ", Name "
+ Name + ", Filename " + Filename + ", Start " +
+ Start.ToString () + ", Length " +
Length.ToString ();
}
}
Modified: trunk/mcs/class/System.Web/System.Web/HttpResponse.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpResponse.cs 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web/HttpResponse.cs 2007-12-13
15:38:53 UTC (rev 91234)
@@ -337,9 +337,7 @@
}
public string Status {
- get {
- return String.Format ("{0} {1}", status_code,
StatusDescription);
- }
+ get { return String.Concat (status_code.ToString (), "
", StatusDescription); }
set {
int p = value.IndexOf (' ');
Modified: trunk/mcs/class/System.Web/System.Web/HttpResponseStream.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpResponseStream.cs 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web/HttpResponseStream.cs 2007-12-13
15:38:53 UTC (rev 91234)
@@ -324,7 +324,7 @@
public override string ToString ()
{
- return String.Format ("file {0} {1} bytes from
position {2}", file, length, offset);
+ return "file " + file + " " + length.ToString
() + " bytes from position " + offset.ToString ();
}
}
@@ -354,7 +354,7 @@
int i = 0;
if (l >= 0) {
- string s = String.Format ("{0:x}", l);
+ string s = l.ToString ("x");
for (; i < s.Length; i++)
chunk_buffer [i] = (byte) s [i];
}
Modified: trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs 2007-12-13
15:38:53 UTC (rev 91234)
@@ -596,7 +596,7 @@
genericNameBase +
".compiled");
PreservationFile pf = new PreservationFile ();
try {
- pf.VirtualPath = String.Format ("/{0}/",
genericNameBase);
+ pf.VirtualPath = String.Concat ("/",
genericNameBase, "/");
AssemblyName an = asm.GetName ();
pf.Assembly = an.Name;
Modified: trunk/mcs/class/System.Web/System.Web/SiteMapNode.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/SiteMapNode.cs 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web/SiteMapNode.cs 2007-12-13
15:38:53 UTC (rev 91234)
@@ -231,9 +231,9 @@
string reskey = provider.ResourceKey;
if (!String.IsNullOrEmpty (reskey))
- reskey = String.Format ("{0}.{1}.{2}",
reskey, implicitResourceKey, attributeName);
+ reskey = reskey + "." +
implicitResourceKey + "." + attributeName;
else
- reskey = String.Format ("{0}.{1}",
implicitResourceKey, attributeName);
+ reskey = String.Concat
(implicitResourceKey, ".", attributeName);
object o = HttpContext.GetGlobalResourceObject
("Web.sitemap", reskey);
if (o is string)
return (string) o;
Modified: trunk/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs
2007-12-13 15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs
2007-12-13 15:38:53 UTC (rev 91234)
@@ -364,7 +364,7 @@
if (cs != null) {
string aname;
for (int i = 0; i <
cs.CodeSubDirectories.Count; i++) {
- aname = String.Format
("App_SubCode_{0}", cs.CodeSubDirectories[i].DirectoryName);
+ aname = String.Concat ("App_SubCode_",
cs.CodeSubDirectories[i].DirectoryName);
assemblies.Add (new AppCodeAssembly (
aname,
Path.Combine
(appCode, cs.CodeSubDirectories[i].DirectoryName)));
@@ -416,7 +416,7 @@
void GetProfileSettingsSerializeAsAttribute (ProfileSection ps,
CodeAttributeDeclarationCollection collection,
SerializationMode
mode)
{
- string parameter = String.Format
("SettingsSerializeAs.{0}", mode.ToString ());
+ string parameter = String.Concat
("SettingsSerializeAs.", mode.ToString ());
collection.Add (
new CodeAttributeDeclaration (
"SettingsSerializeAs",
@@ -549,7 +549,7 @@
string MakeGroupName (string name)
{
- return String.Format ("ProfileGroup{0}", name);
+ return String.Concat ("ProfileGroup", name);
}
// FIXME: there should be some validation of syntactic
correctness of the member/class name
Modified:
trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesAssemblyBuilder.cs
===================================================================
---
trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesAssemblyBuilder.cs
2007-12-13 15:21:48 UTC (rev 91233)
+++
trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesAssemblyBuilder.cs
2007-12-13 15:38:53 UTC (rev 91234)
@@ -141,7 +141,7 @@
Directory.CreateDirectory (baseDir);
string baseFileName = Path.GetFileNameWithoutExtension
(baseAssemblyPath);
- string fileName = String.Format ("{0}.resources.dll",
baseFileName);
+ string fileName = String.Concat (baseFileName,
".resources.dll");
fileName = Path.Combine (baseDir, fileName);
CodeCompileUnit assemblyInfo = GenerateAssemblyInfo
(cultureName);
Modified:
trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesCompiler.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesCompiler.cs
2007-12-13 15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesCompiler.cs
2007-12-13 15:38:53 UTC (rev 91234)
@@ -359,7 +359,7 @@
nsname = "Resources";
} else {
if (!nsname.StartsWith ("Resources",
StringComparison.InvariantCulture))
- nsname = String.Format
("Resources.{0}", nsname);
+ nsname = String.Concat ("Resources.",
nsname);
classname = classname.Substring(1);
}
Modified:
trunk/mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs
2007-12-13 15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs
2007-12-13 15:38:53 UTC (rev 91234)
@@ -313,7 +313,7 @@
if (assembly == null && assemblyName != null)
assembly = GetAssemblyByName
(assemblyName, true);
#endif
- string typeName = String.Format ("{0}.{1}",
nameSpace, componentName);
+ string typeName = String.Concat (nameSpace,
".", componentName);
if (assembly != null)
return assembly.GetType (typeName,
true, true);
Modified: trunk/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs
2007-12-13 15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs
2007-12-13 15:38:53 UTC (rev 91234)
@@ -178,7 +178,7 @@
if (extension == null)
throw new ArgumentNullException ("extension");
- return temp_files.AddExtension (String.Format
("_{0}.{1}", temp_files.Count, extension), true);
+ return temp_files.AddExtension (String.Concat ("_",
temp_files.Count, ".", extension), true);
}
public CodeDomProvider CodeDomProvider {
Modified: trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2007-12-13
15:38:53 UTC (rev 91234)
@@ -1,3 +1,11 @@
+2007-12-13 Marek Habersack <[EMAIL PROTECTED]>
+
+ * TemplateControlCompiler.cs, AspComponentFoundry.cs,
+ AssemblyBuilder.cs, AppResourcesCompiler.cs,
+ AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: speed
+ optimization - use String.Concat instead of String.Format in some
+ cases.
+
2007-11-22 Marek Habersack <[EMAIL PROTECTED]>
* PageCompiler.cs: use
Modified:
trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs
===================================================================
---
trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs
2007-12-13 15:21:48 UTC (rev 91233)
+++
trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs
2007-12-13 15:38:53 UTC (rev 91234)
@@ -748,7 +748,7 @@
return;
string memberName = mi.Name;
- string resname = String.Format ("{0}.{1}", attvalue,
memberName);
+ string resname = String.Concat (attvalue, ".",
memberName);
// __ctrl.Text =
System.Convert.ToString(HttpContext.GetLocalResourceObject("ButtonResource1.Text"));
string inputFile = parser.InputFile;
Modified: trunk/mcs/class/System.Web/System.Web.Configuration/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Configuration/ChangeLog
2007-12-13 15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Configuration/ChangeLog
2007-12-13 15:38:53 UTC (rev 91234)
@@ -1,3 +1,9 @@
+2007-12-13 Marek Habersack <[EMAIL PROTECTED]>
+
+ * FileMatchingInfo.cs. MachineKeyRegistryStorage.cs: speed
+ optimization - use String.Concat instead of String.Format in some
+ cases.
+
2007-11-17 Marek Habersack <[EMAIL PROTECTED]>
* HandlerFactoryConfiguration.cs: FileMatchingInfo array must be
Modified:
trunk/mcs/class/System.Web/System.Web.Configuration/FileMatchingInfo.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Configuration/FileMatchingInfo.cs
2007-12-13 15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Configuration/FileMatchingInfo.cs
2007-12-13 15:38:53 UTC (rev 91234)
@@ -61,7 +61,7 @@
if (vpath == "/")
vpath = String.Empty;
- MatchExact = String.Format
("{0}/{1}", vpath, s);
+ MatchExact = String.Concat
(vpath, "/", s);
}
}
Modified:
trunk/mcs/class/System.Web/System.Web.Configuration/MachineKeyRegistryStorage.cs
===================================================================
---
trunk/mcs/class/System.Web/System.Web.Configuration/MachineKeyRegistryStorage.cs
2007-12-13 15:21:48 UTC (rev 91233)
+++
trunk/mcs/class/System.Web/System.Web.Configuration/MachineKeyRegistryStorage.cs
2007-12-13 15:38:53 UTC (rev 91234)
@@ -58,14 +58,10 @@
}
string hash = appName.GetHashCode ().ToString ("x");
- keyEncryption = String.Format
("software\\mono\\asp.net\\{0}\\autogenkeys\\{1}-{2}",
- Environment.Version,
- hash,
- (int)KeyType.Encryption);
- keyValidation = String.Format
("software\\mono\\asp.net\\{0}\\autogenkeys\\{1}-{2}",
- Environment.Version,
- hash,
- (int)KeyType.Validation);
+ keyEncryption = "software\\mono\\asp.net\\" +
Environment.Version.ToString () +
+ "\\autogenkeys\\" + hash + "-" +
((int)KeyType.Encryption).ToString ();
+ keyValidation = "software\\mono\\asp.net\\" +
Environment.Version.ToString () +
+ "\\autogenkeys\\" + hash + "-" +
((int)KeyType.Validation).ToString ();
}
public static byte[] Retrieve (KeyType kt)
Modified: trunk/mcs/class/System.Web/System.Web.Mail/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Mail/ChangeLog 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Mail/ChangeLog 2007-12-13
15:38:53 UTC (rev 91234)
@@ -1,3 +1,9 @@
+2007-12-13 Marek Habersack <[EMAIL PROTECTED]>
+
+ * MailAddress.cs, SmtpClient.cs, MailMessageWrapper.cs: speed
+ optimization - use String.Concat instead of String.Format in some
+ cases.
+
2007-11-09 Marek Habersack <[EMAIL PROTECTED]>
* SmtpClient.cs: Connect only after reading in the fields that may
Modified: trunk/mcs/class/System.Web/System.Web.Mail/MailAddress.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Mail/MailAddress.cs 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Mail/MailAddress.cs 2007-12-13
15:38:53 UTC (rev 91234)
@@ -54,7 +54,7 @@
}
public string Address {
- get { return String.Format( "[EMAIL PROTECTED]" , user , host ); }
+ get { return String.Concat (user, "@", host); }
set {
string[] parts = value.Split( new char[] { '@' } );
@@ -112,20 +112,16 @@
if( name == null ) {
- retString = String.Format( "<{0}>" , this.Address );
+ retString = String.Concat ("<", this.Address, ">");
} else {
string personName = this.Name;
- if( MailUtil.NeedEncoding( personName ) ) {
- personName = String.Format( "=?{0}?B?{1}?=",
- Encoding.Default.BodyName ,
- MailUtil.Base64Encode(
personName ) ) ;
- }
+ if( MailUtil.NeedEncoding( personName ))
+ personName = "=?" + Encoding.Default.BodyName + "?B?" +
MailUtil.Base64Encode(personName) + "?=";
- retString = String.Format( "\"{0}\" <{1}>" , personName ,
this.Address);
-
+ retString = "\"" + personName + "\" <" + this.Address + ">";
}
return retString;
Modified: trunk/mcs/class/System.Web/System.Web.Mail/MailMessageWrapper.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Mail/MailMessageWrapper.cs
2007-12-13 15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Mail/MailMessageWrapper.cs
2007-12-13 15:38:53 UTC (rev 91234)
@@ -79,9 +79,7 @@
byte[] subjectBytes = message.BodyEncoding.GetBytes(
message.Subject );
// encode the subject with Base64
- header.Subject = String.Format( "=?{0}?B?{1}?=" ,
-
message.BodyEncoding.BodyName ,
- Convert.ToBase64String(
subjectBytes ) );
+ header.Subject = "=?" + message.BodyEncoding.BodyName +
"?B?" + Convert.ToBase64String (subjectBytes) + "?=";
} else {
header.Subject = message.Subject;
@@ -109,22 +107,18 @@
// set the content type
- switch( message.BodyFormat ) {
-
- case MailFormat.Html:
- header.ContentType =
- String.Format( "text/html; charset=\"{0}\"" ,
message.BodyEncoding.BodyName );
- break;
+ switch( message.BodyFormat ) {
+ case MailFormat.Html:
+ header.ContentType = String.Concat ( "text/html;
charset=\"", message.BodyEncoding.BodyName, "\"");
+ break;
- case MailFormat.Text:
- header.ContentType =
- String.Format( "text/plain; charset=\"{0}\"" ,
message.BodyEncoding.BodyName );
- break;
+ case MailFormat.Text:
+ header.ContentType = String.Concat ( "text/plain;
charset=\"", message.BodyEncoding.BodyName, "\"");
+ break;
- default:
- header.ContentType =
- String.Format( "text/html; charset=\"{0}\"" ,
message.BodyEncoding.BodyName );
- break;
+ default:
+ header.ContentType = String.Concat ( "text/html;
charset=\"", message.BodyEncoding.BodyName, "\"");
+ break;
}
Modified: trunk/mcs/class/System.Web/System.Web.Mail/SmtpClient.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Mail/SmtpClient.cs 2007-12-13
15:21:48 UTC (rev 91233)
+++ trunk/mcs/class/System.Web/System.Web.Mail/SmtpClient.cs 2007-12-13
15:38:53 UTC (rev 91234)
@@ -211,7 +211,7 @@
// set the Content-Type header to multipart/mixed
string bodyContentType = msg.Header.ContentType;
- msg.Header.ContentType = String.Format
("multipart/mixed;\r\n boundary={0}", boundary);
+ msg.Header.ContentType = String.Concat
("multipart/mixed;\r\n boundary=", boundary);
// write the header
smtp.WriteHeader (msg.Header);
@@ -258,9 +258,9 @@
MailHeader aHeader = new MailHeader ();
aHeader.ContentType =
- String.Format (MimeTypes.GetMimeType
(fileInfo.Name) + "; name=\"{0}\"",fileInfo.Name);
+ String.Concat (MimeTypes.GetMimeType
(fileInfo.Name), "; name=\"", fileInfo.Name, "\"");
- aHeader.ContentDisposition = String.Format
("attachment; filename=\"{0}\"", fileInfo.Name);
+ aHeader.ContentDisposition = String.Concat
("attachment; filename=\"", fileInfo.Name, "\"");
aHeader.ContentTransferEncoding =
a.Encoding.ToString();
smtp.WriteHeader (aHeader);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches