Windows Media Player 11 SDK AxWindowsMediaPlayer.Buffering Event (VB and C#)
Previous | Next |
AxWindowsMediaPlayer.Buffering Event (VB and C#)
The Buffering event occurs when the Windows Media Player control begins or ends buffering or downloading.
[Visual Basic] Private Sub player_Buffering( sender As Object, e As _WMPOCXEvents_BufferingEvent ) Handles player.Buffering [C#]
Event Data
The handler associated with this event is of type AxWMPLib._WMPOCXEvents_BufferingEventHandler. This handler receives an argument of type AxWMPLib._WMPOCXEvents_BufferingEvent, which contains the following property related to this event.
Property | Description |
Start | System.Boolean
Specifies whether buffering has begun or ended. A value of true indicates that it has begun; a value of false indicates that it has ended. |
Remarks
Use this event to determine when buffering or downloading starts or stops. You can use the same event block for both cases and test IWMPNetwork.bufferingProgress and IWMPNetwork.downloadProgress to determine whether Windows Media Player is currently buffering or downloading content.
Requirements
Version: Windows Media Player 9 Series or later
Namespace: AxWMPLib
Assembly: AxInterop.WMPLib.dll (automatically generated by Visual Studio)
See Also
- AxWindowsMediaPlayer Object (VB and C#)
- IWMPNetwork.bufferingProgress (VB and C#)
- IWMPNetwork.downloadProgress (VB and C#)
Previous | Next |