The WebStreamingClient class represents an instance of a Streaming Service.
Constructors
public WebStreamingClient ()
public WebStreamingClient (string endpointConfigurationName)
public WebStreamingClient (string endpointConfigurationName, string remoteAddress)
public WebStreamingClient (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
public WebStreamingClient (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
Methods
Name |
Description |
Method which returns the content of a specified file from the Ecrion Omni System repository. |
|
Method which uploads a file to the Ecrion Omni System repository. |
The method returns the content of a specified file from the Ecrion Omni System repository as a Stream.
public Stream GetFileStream(LogIn logIn, string path, string fileName, int version)
Parameters
logIn
- the login details of the user which is trying to access the Ecrion Omni System repository. The structure is described in details here
path
- string which specifies the path in the Ecrion Omni System repository where the file exists.
fileName
- string which specifies the name of the file.
version
- integer value which specifies the version of the file.
The method uploads a file to the Ecrion Omni System repository. If the file already exists in the repository, a new version is generated. The method returns an object of type FileResponse.
public FileResponse UploadFile(UploadFileRequest uploadRequest)
Parameters
uploadRequest
- A request to upload a file to the Ecrion Omni System repository. The structure is described in details here