Latest posts on "c-net"

C# method to determine whether the client disables cookies

30 August 2018

For security reasons, some clients disable cookies. When you want to use cookies to store some information (especially some critical information), you need to determine whether the customer has disabled cookies. How to judge?

How to change datetimeoffset to datetime c# ?

22 November 2017

In this tutorial I will show you how to convert datetimeoffset to datetime using c#. Here, I want to save the datetime object value into the database. But the datetimeoffset was returning string value. In order to convert string (datetimeoffset) to datetime you may follow this way,

How to appending an existing XML file in c#?

20 March 2017

In this article I will show how to append new data to an xml file using c#. If you want to add data to xml file without reloading the xml file appending data to the first row using the xElement addBeforeSelf...

Control the brightness of image using c#

11 March 2017

In this article I will show you how to apply brightness of an image using c#.net. You can adjust the color components of the image from the input ranges between -255 and 255.

How to convert byte array to image in c#?

11 March 2017

In this article I will show you how to convert binary data to image using c#. I have saved already stored image binary data into database.

Page 1 of 13