EMC prototype and work logic on C#