I am using Windows SDK C#
---------------------------------------------------------------------------------------- ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add_CB_onAuthenticationReturn(onAuthenticationReturn);
ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add_CB_onLoginRet(onLoginRet);
ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add_CB_onLogout(onLogout);
ZOOM_SDK_DOTNET_WRAP.AuthParam param = new ZOOM_SDK_DOTNET_WRAP.AuthParam();
param.appKey = “xyz”;
param.appSecret = “abc”;
ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().SDKAuth(param);
public void onAuthenticationReturn(AuthResult ret)
{
if (ZOOM_SDK_DOTNET_WRAP.AuthResult.AUTHRET_SUCCESS == ret)
{
Start();
}
else
{
}
}
private void Start()
{
ZOOM_SDK_DOTNET_WRAP.StartParam param = new
ZOOM_SDK_DOTNET_WRAP.StartParam();
param.userType =
ZOOM_SDK_DOTNET_WRAP.SDKUserType.SDK_UT_WITHOUT_LOGIN;
ZOOM_SDK_DOTNET_WRAP.StartParam4WithoutLogin
start_withoutlogin_param = new
ZOOM_SDK_DOTNET_WRAP.StartParam4WithoutLogin();
start_withoutlogin_param.meetingNumber = UInt64.Parse("3123456");
start_withoutlogin_param.userID = "123456";
start_withoutlogin_param.userToken = "sdgdfgdfgg";
start_withoutlogin_param.userZAK = "dfgdfgdfgdfgdfg";
start_withoutlogin_param.userName = "ABC";
start_withoutlogin_param.zoomuserType =
ZOOM_SDK_DOTNET_WRAP.ZoomUserType.ZoomUserType_APIUSER;
param.withoutloginStart = start_withoutlogin_param;
ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().Start(param);
if (ZOOM_SDK_DOTNET_WRAP.SDKError.SDKERR_SUCCESS == err)
{
}
else//error handle
{
}
}