.comment-link {margin-left:.6em;}

.code

.. Hello Earthling .. \o/ :)

Proxy Authentication Required
Wednesday, July 13, 2005

Check this: You are in your office and sitting in a LAN environment-> accessing your internet through a proxy server-> writing code using some cool .net language-> using a System.Net namespace-> using code to access a web resource (maybe some html page) and you write the following code:

private void button1_Click(object sender, EventArgs e)
{
WebClient client = new WebClient();
byte [] b = client.DownloadData( textBox1.Text );
textBox2.Text = System.Text.Encoding.ASCII.GetString(b);
}


and when this code runs, in few seconds you see a horrible & annoying exception thrown on your face by the IDE saying : "The remote server returned an error: (407) Proxy Authentication Required.". What do you do? Well its really simple. As you can see in the message, you need to provide authetication. And if you write the following little magical code:

void SetProxyInfo()
{
WebProxy p =new WebProxy("http://proxy1:8080", true,null, new NetworkCredential( "yourusernamehere","yourpassword","thedomainurusing"));
GlobalProxySelection.Select = p;
}

Call this function from anywhere before doing the web-access thing and you wont get that 407 message again :).


Comments:
Big News From The Healthcare Industry!!

+++++++++++Current Profile+++++++++++
Faceprint Global Solutions (FCPG)
Current Price $0.15
A company with hot new identity solution products
and licenses with over 40 current governmental and
non-governmental contracts in negotiations.
+++++++++++++++++++++++++++++++++

Is this an undiscovered gem priced to go higher!!
Please read the following Announcement in its Entirety and Consider the Possibilities´┐Ż
Watch this One to Trade!

FCPG volume trading is beginning to surge with this landslide Announcement. The value of this
stock appears poised for growth! This one should not remain on the ground floor for long.

BREAKING NEWS!!

Faceprint Global Solutions (FCPG) is pleased to announce that its European partner, Keyvelop, has teamed up with IBM's Partner World Industry Networks to deliver customer software requirement solutions for the international healthcare industry.
With FGS owning the exclusive North American rights to distribute the worlds leading encryption and transmission software developed by Keyvelop, FGS is poised to capture large volumes of sales generated by customers currently using IBM's software in the healthcare and other industries.
With traceability and security now deemed a serious business priority, companies are increasingly focused on employing procedures and controls designed to ensure the authenticity, integrity and confidentiality of electronic records.
"This is a very positive move for FGS and for Keyvelop," said FGS CEO Pierre Cote. "We are very happy about the decision to go with IBM. This is a continuation of the progress made by everyone associated with FGS and its partners."
Buell Duncan, IBM's general manager of ISV & Developer Relations commented, "Collaborating with Keyvelop will ensure that we develop open solutions that are easy to maintain and cost effective for our customers in the healthcare and life sciences industry."
Among other things, this new software technology which is currently being used by a number of European healthcare companies, is used to send any file, regardless of format or size. Encryption keys, evidence of transmission integrity with fingerprint calculation, time-stamping of all actions and status record updating, pre-checking sender and receiver identities, validating file opening dates are part of Keyvelop features.
About FacePrint Global Solutions, Inc.
FGS operates a business, which develops and delivers a variety of technology solutions, including biometric software applications on smart cards and other support mediums (apometric solutions). FGS's products provide biometric solutions for identity authentication and a host of smart card- and biometrics-related hardware peripherals and software applications. Apometrix, FGS's wholly-owned subsidiary, combines on-card or in-chip multi-application management solutions with best-of-breed 'in-card matching' biometrics. Keyvelop's secure digital envelope solution and Apometrix's on-card biometrics work together to produce the winning combination in the fields of security, traceability and identity management. FGS is headquartered in Fresno, California.
Conclusion:

The examples above show the Awesome, Earning Potential of little known Companies That Explode onto Investor's Radar Screens. This stock will not be a Secret for long. Then You May Feel the Desire to Act Right Now! And Please Watch This One Trade!
GO FCPG!

All statements made are our express opinion only and should be treated as such. We may own, take position and sell any securities mentioned at any time. Any statements that express or involve discussions with respect to predictions, goals, expectations, beliefs, plans, projections, objectives, assumptions or future events or performance are not statements of historical fact and may be "forward looking statements." Forward looking statements are based on expectations, estimates and projections at the time the statements are made that involve a number of risks and uncertainties which could cause actual results or events to differ materially from those presently anticipated. This profile is in no way affiliated with the featured company. We were compensated one thousand dollars from third party (IR Marketing) to distribute this report. Forward looking statements in this action may be identified through the use of words such as: "projects", "foresee", "expects". in compliance with Section 17(b), we disclose the holding of FGS shares prior to the publication of this report. Be aware of an inherent conflict of interest resulting from such holdings due to our intent to profit from the liquidation of these shares. Shares may be sold at any time, even after positive statements have been made regarding the above company. Since we own shares, there is an inherent conflict of interest in our statements and opinions. Readers of this publication are cautioned not to place undue reliance on forward-looking statements, which are based on certain assumptions and expectations involving various risks and uncertainties that could cause results to differ materially from those set forth in the forward- looking statements. This is not solicitation to buy or sell stocks, this text is for informational purpose only and you should seek professional advice from registered financial advisor before you do anything related with buying or selling stocks, penny stocks are very high risk and you can lose your entire investment.
 
Post a Comment

Links to this post:

Create a Link



<< Home



Blogs:

MSDN Blogs
Joel Pobar
Don Syme

Friends:
Adeel
Aqeel
#Fahad
Haroon
Omer
Muhammad Ali
Lahore Food Blog

Links:
Rotor
CodeGuru
Mozilla
OpenSourceNokia
Tech Blog

Languages:
IronPython
F#

Archives

June 2004   July 2004   August 2004   September 2004   October 2004   November 2004   December 2004   February 2005   April 2005   June 2005   July 2005   September 2005   October 2005   November 2005   June 2007   December 2007   January 2008   March 2008   April 2008   June 2008   October 2008   February 2009   May 2009   June 2009   July 2009   August 2009   March 2011   June 2011   July 2011   September 2011   October 2011   November 2011   December 2012   May 2013   October 2013   May 2014   March 2015   July 2015   August 2015   December 2015   March 2016   July 2016   October 2016   November 2016   July 2017  

This page is powered by Blogger. Isn't yours?