Files
VDownload/VDownload.Core/Structs/BaseStream.cs

29 lines
540 B
C#
Raw Normal View History

2022-03-07 14:59:11 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Core.Structs
{
2022-05-05 15:06:10 +02:00
[Serializable]
2022-03-07 14:59:11 +01:00
public struct BaseStream
{
#region PROPERTIES
2022-03-07 14:59:11 +01:00
public Uri Url { get; set; }
public int Height { get; set; }
public int FrameRate { get; set; }
#endregion
#region METHODS
public override string ToString() => $"{Height}p{(FrameRate > 0 ? FrameRate.ToString() : "N/A")}";
#endregion
2022-03-07 14:59:11 +01:00
}
}