20 lines
469 B
C#
20 lines
469 B
C#
using YoutubeExplode.Videos;
|
|
|
|
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;
|
|
|
|
public static int Port => _port;
|
|
|
|
public static string AlreadyExistsUrl=> _alreadyExists;
|
|
|
|
public static string GetRedirectUrl(VideoId id)
|
|
{
|
|
return _redir.Replace("%ID%",id.Value);
|
|
}
|
|
} |