public MediaSlot(IBMDSwitcherClip clip, uint index) { BMDSwitcherHash hash; // Only getting the hash of the first frame clip.GetFrameHash(0, out hash); this.Hash = String.Join("", BitConverter.ToString(hash.data).Split('-')); clip.GetName(out this.Name); this.Slot = (int)index + 1; this.Type = "Clip"; }