Latest posts on "c-net"

How to remove all Meta keyword tags? -Jpeg Metadata Adapter

19 May 2021

I am using jpeg metadata utility in c#. I want to remove the old keyword tags and add new tags. When I used metaAdapter.Metadata.Keywords.Add(“”) it overwrites with existing keywords.

System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Net.Http.Formatting' with identity 'System.Net.Http.Formatting, Version=4.0.0.0

21 August 2020

I got this following error I removed the old version of System.Net.Http.Formatting version 4.0.0.0 and referenced Version=5.2.3.0. This reference resolved by problem.

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...

Page 1 of 14