increment version
This commit is contained in:
@@ -22,5 +22,5 @@
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("4.1.0")]
|
||||
[assembly: AssemblyFileVersion("4.1.0")]
|
||||
[assembly: AssemblyVersion("4.2.0")]
|
||||
[assembly: AssemblyFileVersion("4.2.0")]
|
||||
@@ -247,33 +247,5 @@ namespace ReadSharp
|
||||
Charset = response.Content.Headers.ContentType.CharSet
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets the encoding from string.
|
||||
/// </summary>
|
||||
/// <param name="encoding">The encoding.</param>
|
||||
/// <returns></returns>
|
||||
private Encoding GetEncodingFromString(string encoding)
|
||||
{
|
||||
Encoding correctEncoding;
|
||||
//System.Activator.CreateInstance(Type.GetType("Class1"));
|
||||
|
||||
if (String.IsNullOrEmpty(encoding))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
correctEncoding = Encoding.GetEncoding(encoding);
|
||||
}
|
||||
catch
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return correctEncoding;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user