This is the C# codes for can tool