Elastacloud.AzureManagement.Fluent.Clients.MobileServiceClient.GetMobileServiceDetails C# (CSharp) Method

GetMobileServiceDetails() private method

Gets the details of the mobile service on startup
private GetMobileServiceDetails ( ) : void
return void
        private void GetMobileServiceDetails()
        {
            //execute the details command
            var details = new GetMobileServiceDetailsCommand(MobileServiceName)
            {
                SubscriptionId = SubscriptionId,
                Certificate = ManagementCertificate
            };
            details.Execute();
            //set all of the details in the client
            ApplicationKey = details.ApplicationKey;
            ApplicationUrl = details.ApplicationUrl;
            Location = details.Location;
            MasterKey = details.MasterKey;
        }