コード例 #1
0
 /// <summary>
 /// Writes the SHA1 file signature for this file.
 /// </summary>
 /// <param name="signature">The signature to write.</param>
 public void CreateOrUpdateSignatureFile(SHA1Value signature)
 {
     File.WriteAllText(_signatureFile, signature.ToString());
 }
コード例 #2
0
 /// <summary>
 /// Writes a SHA1 signature for this directory.
 /// </summary>
 /// <param name="signature">The signature to write.</param>
 public void CreateOrUpdateSignatureFile(SHA1Value signature)
 {
     File.WriteAllText(Path.AppendPart(SignatureFileName), signature.ToString());
 }