♠ Posted by Unknown in C# at 11:49 PM
Dapatkan nama file dari url C#
public string GetFileName {
get{
string URL = "http://vendyxiao.com/wp-content/uploads/2011/09/facebook_icon.png";
_getNameFile = URL.Substring(URL.LastIndexOf("/") + 1, (URL.Length - URL.LastIndexOf("/") - 1));
return _getNameFile;
}
set {
_getNameFile = value;
}
}
0 komentar:
Post a Comment