Raised after both the Xbox One console and the SmartGlass-enabled device open the auxiliary stream and successfully establish a connection.
public:
event TypedEventHandler<SmartGlassAuxiliaryStream^ , Object^ >^ OnConnect {
EventRegistrationToken add (TypedEventHandler<SmartGlassAuxiliaryStream^ , Object^ >^ value);
void remove (EventRegistrationToken token);
}
After this event occurs, both sides of the auxiliary stream can freely read data from and write data to the stream.
Namespace: Windows.Xbox.SmartGlass
Metadata: windows.winmd
SmartGlassAuxiliaryStream.Open
SmartGlassAuxiliaryStream.Read
SmartGlassAuxiliaryStream.Write