2024-12-08 22:33:13 +00:00
|
|
|
using YoutubeExplode.Videos;
|
|
|
|
|
2024-10-19 05:17:43 +00:00
|
|
|
public static partial class Creds
|
|
|
|
{
|
|
|
|
public static string IP => _ip;
|
|
|
|
public static string Username => _username;
|
|
|
|
|
|
|
|
public static string Password => _password;
|
|
|
|
|
|
|
|
public static string DirectoryOnServer => _dir;
|
2024-10-19 08:43:06 +00:00
|
|
|
|
|
|
|
public static int Port => _port;
|
|
|
|
|
|
|
|
public static string AlreadyExistsUrl=> _alreadyExists;
|
2024-12-08 22:33:13 +00:00
|
|
|
|
|
|
|
public static string GetRedirectUrl(VideoId id)
|
|
|
|
{
|
|
|
|
return _redir.Replace("%ID%",id.Value);
|
|
|
|
}
|
2024-10-19 05:17:43 +00:00
|
|
|
}
|