I am working with someone else\'s code and trying to make some modifications. So what I\'m needing to do is take the following:
RemoteFileDP remoteFile = ne
You're missing a constructor that takes a string
as a parameter. Try your code with
public RemoteFileDP(string locationDirectory)
{
// do stuff with locationDirectory to initialize RemoteFileDP appropriately
}
Of course, if you do that, why not just call the constructor directly?
RemoteFileDP remoteFile = new RemoteFileDP(locationDirectory);