Click or drag to resize

SmartFoxMySelf Property

Returns the User object representing the client when connected to a SmartFoxServer 2X instance.

Namespace:  Sfs2X
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public User MySelf { get; set; }

Property Value

Type: User
Remarks
This object is generated upon successful login only, so it is null if login was not performed yet.

NOTE: setting this property manually can disrupt the API functioning.

See Also