zAndrewi
zAndrewi

Reputation: 19

How can I fetch a web page in C#?

I am trying to make it so I can make windows form in c# to connect to a web page that is a Perl script.

So, I have this Perl script and I have to pass it 1 argument. I want to make it something like that " https://(ip-adress)/arg1='arg1'/ ". Is it possible? And this script to be activated through a c# windows form button.

Upvotes: 0

Views: 80

Answers (1)

brian d foy
brian d foy

Reputation: 132913

That the remote resource is a Perl script does not matter. Access the URL and get its response. You don't need to think about how the server decides to respond to you.

That is, request the URL in the same way that you would any other URL in whatever tool that you are using.

Upvotes: 1

Related Questions