Business.MediaInfoReader.GetLength C# (CSharp) Метод

GetLength() приватный Метод

private GetLength ( StreamKind stream ) : short?
stream StreamKind
Результат short?
        private short? GetLength(StreamKind stream) {
            string StrValue = lastMedia.Get(stream, 0, "Duration");
            int Result = 0;
            if (int.TryParse(StrValue, out Result))
                return (short)(Result / 1000);
            else
                return null;
        }