How to get only File extension from path in c# Get link Facebook X Pinterest Email Other Apps - March 21, 2014 C# Code: string FilePath ="D:\\images\\1.png"; string Extention = Path.GetExtension(FilePath); Get link Facebook X Pinterest Email Other Apps
How to Send message to mobile no using c# - January 08, 2014 c# Code: string ContactNo = "8343094272" ; // to mobile no string MessageText = "Welcome to Softtechsolving" ; // your message string strUrl = string .Format( "http://api.mVaayoo.com/mvaayooapi/MessageCompose?user=softtechsolving@gmail.com:soft@123&senderID=TEST SMS&receipientno={0}&msgtxt={1}&state=4" , ContactNo, MessageText); WebRequest request = HttpWebRequest.Create(strUrl); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); Stream s = ( Stream )response.GetResponseStream(); ... Read More »