int height = 0; int width = 0; Shell32.Shell Sh = new Shell32.Shell(); Shell32.FolderItem FI; Shell32.Folder F; F = Sh.NameSpace(System.IO.Path.GetDirectoryName(Server.MapPath("~/") + MovingImages + "caesarstonelongeng03142012063807596.mp4")); FI = F.ParseName(System.IO.Path.GetFileName(Server.MapPath("~/") + MovingImages + "caesarstonelongeng03142012063807596.mp4")); int.TryParse(F.GetDetailsOf(FI, 285), out width); int.TryParse(F.GetDetailsOf(FI, 283), out height);
GetDetailsEx
GetDetailsOf
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)