Let\'s say my program has a class called "customer" and the customer class is serializable so I can read and write it to disk. The customer class holds sensitive i
Its quite possible,
Lets say you class looks like
public class Customer
{
public string Name{get;set;}
public int salary {get;set;}
}
You could encrypt the data held in properties of the object so customer.Name = 'ABC' could become customer.Name = 'WQW' something like that
than serialize it.
On deserialization, when you have to show the data you have to decrypt it before showing the data to the user
hope this help