Search Results for

    Show / Hide Table of Contents

    Class HttpFileTransfer

    Helper methods for downloading binary files.

    Inheritance
    System.Object
    HttpFileTransfer
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class HttpFileTransfer : object

    Methods

    DownloadFile(String)

    Downloads a file from the url. Decompresses using BZip2 if needed.

    Declaration
    public static Future<DataBuffer> DownloadFile(string url)
    Parameters
    Type Name Description
    System.String url

    The URL.

    Returns
    Type Description
    Future<DataBuffer>

    DownloadFile(String, StorageFolder, String)

    Downloads a file from the url. Decompresses using BZip2 if needed. Then saves to the file system at the destination.

    Declaration
    public static Future<object> DownloadFile(string url, StorageFolder destination, string fileName)
    Parameters
    Type Name Description
    System.String url
    Windows.Storage.StorageFolder destination
    System.String fileName
    Returns
    Type Description
    Future<System.Object>
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0