Click or drag to resize

ServerConnection Class

Provides server connection information.
Inheritance Hierarchy
SystemObject
  Novalys.VisualGuard.Security.CRM.SdkServerConnection

Namespace:  Novalys.VisualGuard.Security.CRM.Sdk
Assembly:  Novalys.VisualGuard.Security.CRM (in Novalys.VisualGuard.Security.CRM.dll) Version: 2019.0.101.19 (2019.0.0101.19)
Syntax
public class ServerConnection

The ServerConnection type exposes the following members.

Constructors
  NameDescription
Public methodServerConnection
Initializes a new instance of the ServerConnection class
Top
Methods
  NameDescription
Public methodStatic memberConvertToSecureString
Convert unsecure string to SecureString.
Public methodStatic memberConvertToUnsecureString
Convert SecureString to unsecure string.
Public methodDiscoverOrganizations
Discovers the organizations that the calling user belongs to.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindOrganization
Finds a specific organization detail in the array of organization details returned from the Discovery service.
Protected methodGetDeviceCredentials
Get the device credentials by either loading from the local cache or request new device credentials by registering the device.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetOrganizationAddress
Obtains the web address (Uri) of the target organization.
Public methodStatic memberGetOrganizationProxy
Obtains the organization service proxy. This would give a better performance than directly calling GetProxy() generic method as it uses cached OrganizationServiceManagement in case it is present.
Protected methodGetOrgType
Is this organization provisioned in Microsoft Office 365?
Public methodStatic memberGetProxyTService, TProxy
Generic method to obtain discovery/organization service proxy instance.
Protected methodGetServerAddress
Obtains the name and port of the server running the Microsoft Dynamics CRM Discovery service.
Public methodGetServerConfiguration
Obtains the server connection information including the target organization's Uri and user logon credentials from the user.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUserLogonCredentials
Obtains the user's logon credentials for the target server.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadConfigurations
Reads a server configuration file. Read the configuration from disk, if it exists, at C:\Users\YourUserName\AppData\Roaming\CrmServer\Credentials.xml.
Public methodStatic memberReadPassword
Prompts user to enter password in console window and capture the entered password into SecureString.
Public methodSaveConfiguration
Writes a server configuration to a file.
Public methodSaveConfigurations
Writes all server configurations to a file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldconfigurations
Top
See Also