This message was deleted.
# general
s
This message was deleted.
1
a
the doc mentions
filebase64sha256
which I cannot find anywhere
after some googling I made it work with this hashing method. The outcome is then set to the lambda sourceCodeHash property. Updates worked as expected
Copy code
public static string GetSHA265Base64Checksum(string filename)
		{
			using (var hasher = System.Security.Cryptography.HashAlgorithm.Create("SHA256"))
			{
				using (var stream = System.IO.File.OpenRead(filename))
				{
					var hash = hasher.ComputeHash(stream);
					return Convert.ToBase64String(hash);
				}
			}
		}