C# Class LearningRegistry.LRClient

Afficher le fichier Open project: adlnet-archive/LR.Net Class Usage Examples

Méthodes publiques

Méthode Description
AcceptAllCertificates ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors policyErrors ) : bool
LRClient ( ) : System
LRClient ( string baseUri ) : System
LRClient ( string baseUri, string username, string password ) : System
ObtainDocByID ( string docId ) : lr_document
ObtainDocsByResourceLocator ( string locator, bool ids_only = false ) : ObtainResult
Publish ( lr_Envelope docs ) : PublishResponse

Method Details

AcceptAllCertificates() public static méthode

public static AcceptAllCertificates ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors policyErrors ) : bool
sender object
certificate System.Security.Cryptography.X509Certificates.X509Certificate
chain System.Security.Cryptography.X509Certificates.X509Chain
policyErrors SslPolicyErrors
Résultat bool

LRClient() public méthode

public LRClient ( ) : System
Résultat System

LRClient() public méthode

public LRClient ( string baseUri ) : System
baseUri string
Résultat System

LRClient() public méthode

public LRClient ( string baseUri, string username, string password ) : System
baseUri string
username string
password string
Résultat System

ObtainDocByID() public méthode

public ObtainDocByID ( string docId ) : lr_document
docId string
Résultat lr_document

ObtainDocsByResourceLocator() public méthode

public ObtainDocsByResourceLocator ( string locator, bool ids_only = false ) : ObtainResult
locator string
ids_only bool
Résultat ObtainResult

Publish() public méthode

public Publish ( lr_Envelope docs ) : PublishResponse
docs lr_Envelope
Résultat PublishResponse