hey guys, lets see if i can make this as clear as possible.

I have an application. This application has a clas that sends POST Data over to a PHP/aaspx script. Acutally it dosnt matter what script, the class just sends the data.

The class allows the user to set "field" values. For example if you have:

Code:
<input type="text" name="name">
<input type="text" name="tmp_name">
Then you can use the following snippet:

Charp Code:
  1. mf.setField("name", fullFileName.ToString());
  2.                             mf.setField("tmp_name", fullFileName.ToString());

okay so now, you can see we can set the form fields like that.

But the number of fields + the names of the fields are probably different from each (simple) script.
So everytime I want to support a "provider" I want to make a plugin that the user installs that will use the class and set the fields.

I think I am supposed to use an interface for this but I am not entirely sure how to even begin.

Thanks