RAPI2 -- Remote File Size

Sep 24, 2013 at 4:32 PM
I can use this snippet to get the size of a local file on my hard drive:
        Dim MyFile as string = "SomePath\SomeFile"
        Dim info As New FileInfo(MyFile)
        Dim length As Long = info.Length
        lblLocal.Text = length.ToString
I can't find any similar functionality in RemoteFileInfo, RemoteFileSystemInfo or RemoteDirectoryInfo. Can someone point me to the right way to do this?

Thanks,
Carthax