bool isAvailable = info.GetBoolean("IsAvailable");
bool hasCompleted = info.GetBoolean("HasCompleted");In this example, the boolean value with the name "HasCompleted" is retrieved from the SerializationInfo object and stored in the variable hasCompleted. This method is a part of the System.Runtime.Serialization namespace which is provided by the .NET Framework.