Tomioka
05/21/2024, 2:14 PMc#
var username = "abc";
var password = "123";
string encoded = System.Convert.ToBase64String(Encoding.GetEncoding("ISO-8859-1")
.GetBytes(username + ":" + password));
httpWebRequest.Headers.Add("Authorization", "Basic " + encoded);
kdx-perbol
05/21/2024, 2:43 PMNetworkCredential
instead https://learn.microsoft.com/en-us/dotnet/api/system.net.networkcredential?view=net-8.0A hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by