Clears the upload and releases all held resources.



void Dispose()



This method clears all memory and deletes any resources such as temporary files held by the upload object. You should not use the upload object after calling this method.

You do not have to call this method as resources will automatically be reclaimed by the garbage collector once the upload object goes out of scope. However you may want to explicitly delete all held resources to ensure timely disposal.



See Also