How to get video upload progress?

Dec 8, 2010 at 10:41 AM

Hello all,

Is it possible to get upload progress notification? I use  Facebook.Rest.Api.Video.UploadAsync().

The code looks like this: 

api = new Facebook.Rest.Api(dSession);

var fileStream = File.OpenRead(fileName);
BinaryReader reader = new BinaryReader(fileStream);
var data = reader.ReadBytes((int)fileStream.Length);
api.Video.UploadAsync(title, description, data, Facebook.Schema.Enums.FileType.avi, OnUploadComplete, null);

Thanks in advance.