Beispiel #1
0
 protected void SetPlayModeSink(System.UInt32 InstanceID, DvAVTransport.Enum_CurrentPlayMode NewPlayMode)
 {
     if (ID_Table.ContainsKey(InstanceID) == false)
     {
         throw(new UPnPCustomException(802, InstanceID.ToString() + " is not a valid InstanceID"));
     }
     else
     {
         AVConnection c = (AVConnection)ID_Table[InstanceID];
         c.SetPlayMode(NewPlayMode);
     }
 }