By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,165 Members | 1,429 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,165 IT Pros & Developers. It's quick & easy.

Encode a string using Base64

P: n/a
Hello friends

I'm creating one application that will send content to another app using
HTTP connection. To authenticate my connection, I need to send a string with
the username and password encoded using Base64.

Dim username as String
Dim pass as String
Dim info_user as String
info_user = username + ":" + pass

and I need to encode info_user String using Base64. Can anyone help me how
can I do this, because I'm not sure how to do this.

Thanks for Help

Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
"Bruno" <Br***> schrieb:
and I need to encode info_user String using Base64.

You can use 'Convert.ToBase64String' to get a Base64-string.

M S Herfried K. Wagner
M V P <URL:>
V B <URL:>
Nov 21 '05 #2

P: n/a
Try this example:

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.