That should do it ...
basicData = System.Text.ASCIIEncoding.ASCII.GetString( System.Convert.FromBase64String( EncodedAuth ) )
This will give you a string in the format "username: password". Divide the line by ":" and you will get the credentials.
David source share