Ryan00793

EveAI Example

Jan 7th, 2016
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.76 KB | None | 0 0
  1. using System.Collections.Generic;
  2. using EveAI.Live;
  3. using EveAI.Live.Character;
  4.  
  5. namespace Example_EveAI
  6. {
  7.     class Program
  8.     {
  9.         static void Main(string[] args)
  10.         {
  11.             long KEY_ID = 0;    //Change these to correct info.
  12.             string V_CODE = "";
  13.             long CHAR_ID = 0;
  14.  
  15.             AuthenticationData apiData = new AuthenticationData();
  16.             apiData.KeyID = KEY_ID;
  17.             apiData.VCode = V_CODE;
  18.             apiData.CharacterID = CHAR_ID;
  19.  
  20.             CharacterContactListApi ContactApi = new CharacterContactListApi();
  21.             ContactApi.AuthenticationData = apiData;
  22.             ContactApi.UpdateData();
  23.             List<EveAI.Live.Utility.Contact> contacts = ContactApi.Data;
  24.         }
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment