C# get parameter in url

 string clientIP = Request.Headers["X-Forwarded-For"];

            if (string.IsNullOrEmpty(clientIP))

                clientIP = Request.UserHostAddress;


Log.InfoFormat("Callback received from Smartfren: {0} [IP: {1}]", Request.Url, clientIP);


Request.QueryString["serviceType"]; => get parameter in url


C# get parameter in url C# get parameter in url Reviewed by Leo on April 03, 2022 Rating: 5

Tidak ada komentar

About me

About Me

My name is Joanne Doe, a lifestyle photographer and blogger currently living in Osaka, Japan. I write my thoughts and travel stories inside this blog.