Revision 6bcdd8e2 trunk/Pithos.Network/Signature.cs
b/trunk/Pithos.Network/Signature.cs | ||
---|---|---|
44 | 44 |
using System.Collections.Generic; |
45 | 45 |
using System.Diagnostics.Contracts; |
46 | 46 |
using System.IO; |
47 |
using System.Reflection; |
|
47 | 48 |
using System.Runtime.Remoting.Metadata.W3cXsd2001; |
48 | 49 |
using System.Security.Cryptography; |
49 | 50 |
using System.Threading.Tasks; |
... | ... | |
53 | 54 |
{ |
54 | 55 |
public static class Signature |
55 | 56 |
{ |
57 |
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
|
58 |
|
|
56 | 59 |
public static string CalculateMD5(FileInfo info) |
57 | 60 |
{ |
58 | 61 |
if (info==null) |
Also available in: Unified diff