TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kuchana Rajendra Prasad
NA
81
14.4k
How to Encode the username and Pwd to NTLM authentication
Oct 22 2018 7:39 AM
Hi,
string username = AHD.username;
string password = AHD.password;
var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(username + ":" + password);
string encodedCredentials = System.Convert.ToBase64String(plainTextBytes);
string authorization = String.Concat("SDM", encodedCredentials);
The above code i am using for SDM encoded credentials but i am getting the basic authentication.
In the way i need NTLM authentiction values as i am getting the values in postman but not in coding. what approch is used to get NTLM as like Basic authentication
Reply
Answers (
0
)
Adding Proerties at run time to existing class
Autocomplete is not working with my web app