CSharpRTMP.Common.MediaFile.MediaFile C# (CSharp) Method

MediaFile() public method

public MediaFile ( string path ) : System
path string
return System
        public MediaFile(string path)
        {
            var fileInfo = new FileInfo(path);
            FilePath = fileInfo.FullName;
            FileName = fileInfo.Name;
        }
        public long Length => DataStream.Length;