===================================
Open your terminal using Ctrl+Alt+T
and type the following commands
##Step 1: Update & Upgrade
sudo apt-get update
sudo apt-get upgrade
httpClient.DefaultRequestHeaders.Authorization = | |
new AuthenticationHeaderValue( | |
"Basic", | |
Convert.ToBase64String( | |
System.Text.ASCIIEncoding.ASCII.GetBytes( | |
string.Format("{0}:{1}", username, password)))); |