Microsoft Sync Framework: Type of connection and transfer speed RRS feed

  • Question

  • Good Day Everyone,

    I want to know if Microsoft sync framework has a built in function that

    1) returns the type of connection(i.e. dial up, vpn, dsl)
    2) and transfer speed(in kbps)
    Monday, January 18, 2010 7:37 AM


  • Hi,

    No, the Sync Framework does not know (or care) about the connection type and speed.

    You can use the System.Net.NetworkInformation.NetworkInterface class to get some information about the network.
    Use the NetworkInterface.GetAllNetworkInterfaces() method to get a list of ... all network interfaces.
    The NetworkInterfaceType and Speed properties can provide you the rest of the information.

    Monday, January 18, 2010 8:05 AM