Click or drag to resize

FileSystemClient Methods

To get started, call one of the following methods:
  • Anysense.API.Client.V1.ApiClient.Create
  • Anysense.API.Client.V1.ApiClient.CreateAsync
  • Anysense.API.Client.V1.ApiClient.CreateWithToken
  • Anysense.API.Client.V1.ApiClient.CreateWithTokenAsync
See Anysense.API.Client.Shared.BaseClient<T> for documentation on these methods.

The FileSystemClient type exposes the following members.

Methods
 NameDescription
Public methodGetFile(Int64, Guid) Gets a file
Public methodGetFile(Int64, Guid, Stream) Gets a file
Public methodGetFileAsync(Int64, Guid) Gets a file
Public methodGetFileAsync(Int64, Guid, Stream) Gets a file
Public methodGetScaled(Int64, Guid, Int32, Int32) Gets an image scaled to match submitted max width or max height. If the image is smaller than the requested dimensions, the original image is returned.
Public methodGetScaled(Int64, Guid, Int32, Int32, Stream) Gets an image scaled to match submitted max width or max height. If the image is smaller than the requested dimensions, the original image is returned.
Public methodGetScaledAsync(Int64, Guid, Int32, Int32) Gets an image scaled to match submitted max width or max height. If the image is smaller than the requested dimensions, the original image is returned.
Public methodGetScaledAsync(Int64, Guid, Int32, Int32, Stream) Gets an image scaled to match submitted max width or max height. If the image is smaller than the requested dimensions, the original image is returned.
Public methodGetThumbnail(Int64, Guid, Int32, Int32) Gets an thumbnail of a media scaled to match submitted max width or max height. If the media is an image and the image is smaller than the requested dimensions, the original image is returned. If anything else than an image is requested, the service returns a standard thumbnail matching the requested dimensions.
Public methodGetThumbnail(Int64, Guid, Int32, Int32, Stream) Gets an thumbnail of a media scaled to match submitted max width or max height. If the media is an image and the image is smaller than the requested dimensions, the original image is returned. If anything else than an image is requested, the service returns a standard thumbnail matching the requested dimensions.
Public methodGetThumbnailAsync(Int64, Guid, Int32, Int32) Gets an thumbnail of a media scaled to match submitted max width or max height. If the media is an image and the image is smaller than the requested dimensions, the original image is returned. If anything else than an image is requested, the service returns a standard thumbnail matching the requested dimensions.
Public methodGetThumbnailAsync(Int64, Guid, Int32, Int32, Stream) Gets an thumbnail of a media scaled to match submitted max width or max height. If the media is an image and the image is smaller than the requested dimensions, the original image is returned. If anything else than an image is requested, the service returns a standard thumbnail matching the requested dimensions.
Top
See Also