Sie müssen sich anmelden/einen Benutzer registrieren und einen synchronisierten Realm öffnen. Etwas wie:
// pass createUser: true to register rather than login
var credentials = Credentials.UsernamePassword("[email protected]", "super-secure", createUser: false);
// Login the user
var user = await User.LoginAsync(credentials, new Uri("http://192.168.100.61:9080"));
// Create a sync configuration for the Realm
// Notice the URL uses the realm scheme and not http
var config = new SyncConfiguration(user, new Uri("realm://192.168.100.61:9080/~/myrealm"));
// Finally, get the Realm instance
// This Realm will be kept in sync with the remote one
var realm = Realm.GetInstance(config);
Weitere Informationen erhalten Sie im documentation aus.
Dies könnte helfen, bessere Antworten auf dieser Website zu bekommen: https://stackoverflow.com/help/how-to-ask – Kixoka