예제 #1
0
 public void TestCloudKey_getEmbedUrl()
 {
     try
     {
         DMCloud.CSharp.Master.API.CloudKey cloud = new DMCloud.CSharp.Master.API.CloudKey(USER_ID, API_KEY);
         String[] referers = { "http://test.dmcloud.net" };
         cloud.MediaGetEmbedUrl(DMCloud.CSharp.Master.API.CloudKey.API_URL, VIDEO_ID, DMCloud.CSharp.Master.API.CloudKey.SECLEVEL_REFERER, "", "", "", null, referers, 0);
     }
     catch (Exception e)
     {
         e.GetBaseException();
     }
 }
예제 #2
0
 public void TestCloudKey_getEmbedUrl()
 {
     try
     {
         DMCloud.CSharp.Master.API.CloudKey cloud = new DMCloud.CSharp.Master.API.CloudKey(USER_ID, API_KEY);
         String[] referers = { "http://test.dmcloud.net" };
         cloud.MediaGetEmbedUrl(DMCloud.CSharp.Master.API.CloudKey.API_URL, VIDEO_ID, DMCloud.CSharp.Master.API.CloudKey.SECLEVEL_REFERER, "", "", "", null, referers, 0);
     }
     catch (Exception e)
     {
         e.GetBaseException();
     }
 }