标签:nts color net use add mon set list ddr
MongoClient _client;
IMongoDatabase _db;
MongoCredential credential = MongoCredential.CreateMongoCRCredential("pethome", "username", "pwd"); MongoClientSettings settings = new MongoClientSettings { Credentials = new List<MongoCredential>() {credential}, Server = new MongoServerAddress("ip") }; _client = new MongoClient(settings); _db = _client.GetDatabase("pethome");
标签:nts color net use add mon set list ddr
原文地址:http://www.cnblogs.com/nopassword/p/6135521.html