And it gives me Exceptions:
Even after I add to the code, I get the same Exception
string uri = "mongodb://Host:27017/?safe=true&connect=replicaset";