id: 1 unit: static ErrorCodes() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/ErrorCodes.cs start line: 41 end line: 3191 size: 3151 LOC McCabe index: 1 number of parameters: 0 id: 2 unit: public static ClientCredentials GetUserLogonCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 555 end line: 684 size: 110 LOC McCabe index: 24 number of parameters: 1 id: 3 unit: public virtual Configuration GetServerConfiguration() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 196 end line: 330 size: 106 LOC McCabe index: 20 number of parameters: 0 id: 4 unit: public static TProxy GetProxy() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 737 end line: 859 size: 88 LOC McCabe index: 11 number of parameters: 1 id: 5 unit: private XElement ParseOutCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1140 end line: 1213 size: 69 LOC McCabe index: 12 number of parameters: 3 id: 6 unit: public void SaveConfiguration() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 485 end line: 548 size: 60 LOC McCabe index: 13 number of parameters: 3 id: 7 unit: public Boolean ReadConfigurations() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 382 end line: 444 size: 58 LOC McCabe index: 20 number of parameters: 0 id: 8 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/Business.cs start line: 87 end line: 148 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 9 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/BusinessFacility.cs start line: 96 end line: 157 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 10 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/BusinessOperation.cs start line: 96 end line: 157 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 11 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/Deal.cs start line: 93 end line: 154 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 12 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/Device.cs start line: 96 end line: 157 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 13 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceBrand.cs start line: 87 end line: 148 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 14 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceClass.cs start line: 87 end line: 148 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 15 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceGeneration.cs start line: 89 end line: 150 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 16 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceModelCode.cs start line: 87 end line: 148 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 17 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceStyle.cs start line: 87 end line: 148 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 18 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceType.cs start line: 87 end line: 148 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 19 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceVariant.cs start line: 87 end line: 148 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 20 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceWarranty.cs start line: 87 end line: 148 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 21 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/ServiceAppointment.cs start line: 92 end line: 153 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 22 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/ServiceContract.cs start line: 96 end line: 157 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 23 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/TestDrive.cs start line: 95 end line: 156 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 24 unit: static public void Main() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/TradeIn.cs start line: 89 end line: 150 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 25 unit: private ClientCredentials ParseInCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1082 end line: 1131 size: 49 LOC McCabe index: 9 number of parameters: 3 id: 26 unit: public override bool Equals() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 65 end line: 113 size: 42 LOC McCabe index: 16 number of parameters: 1 id: 27 unit: protected virtual Uri GetOrganizationAddress() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 956 end line: 1000 size: 40 LOC McCabe index: 7 number of parameters: 0 id: 28 unit: private static EnvironmentConfiguration DiscoverEnvironmentInternal() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 239 end line: 281 size: 36 LOC McCabe index: 7 number of parameters: 1 id: 29 unit: private static DeviceRegistrationResponse ExecuteRegistrationRequest() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 416 end line: 456 size: 34 LOC McCabe index: 3 number of parameters: 2 id: 30 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/BusinessFacility.cs start line: 43 end line: 85 size: 32 LOC McCabe index: 3 number of parameters: 2 id: 31 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/BusinessOperation.cs start line: 43 end line: 85 size: 32 LOC McCabe index: 3 number of parameters: 2 id: 32 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/Device.cs start line: 43 end line: 85 size: 32 LOC McCabe index: 3 number of parameters: 2 id: 33 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/ServiceContract.cs start line: 43 end line: 85 size: 32 LOC McCabe index: 3 number of parameters: 2 id: 34 unit: private static ClientCredentials RegisterDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 328 end line: 369 size: 32 LOC McCabe index: 8 number of parameters: 3 id: 35 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/TestDrive.cs start line: 43 end line: 84 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 36 unit: public static void WriteCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1486 end line: 1519 size: 31 LOC McCabe index: 6 number of parameters: 3 id: 37 unit: private void UpdateCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 930 end line: 961 size: 30 LOC McCabe index: 5 number of parameters: 2 id: 38 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/Deal.cs start line: 43 end line: 82 size: 29 LOC McCabe index: 3 number of parameters: 2 id: 39 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/ServiceAppointment.cs start line: 43 end line: 81 size: 28 LOC McCabe index: 3 number of parameters: 2 id: 40 unit: public static SecureString ReadPassword() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 691 end line: 721 size: 26 LOC McCabe index: 5 number of parameters: 0 id: 41 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceGeneration.cs start line: 43 end line: 78 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 42 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/TradeIn.cs start line: 43 end line: 78 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 43 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceWarranty.cs start line: 43 end line: 76 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 44 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/Business.cs start line: 43 end line: 76 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 45 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceBrand.cs start line: 43 end line: 76 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 46 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceClass.cs start line: 43 end line: 76 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 47 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceModelCode.cs start line: 43 end line: 76 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 48 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceStyle.cs start line: 43 end line: 76 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 49 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceType.cs start line: 43 end line: 76 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 50 unit: public void Run() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/DeviceVariant.cs start line: 43 end line: 76 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 51 unit: public override int GetHashCode() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 115 end line: 136 size: 22 LOC McCabe index: 4 number of parameters: 0 id: 52 unit: private DiscoveryServiceProxy GetDiscoveryProxy() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1018 end line: 1050 size: 22 LOC McCabe index: 4 number of parameters: 0 id: 53 unit: public void SaveConfigurations() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 450 end line: 476 size: 21 LOC McCabe index: 4 number of parameters: 0 id: 54 unit: public static void DeleteCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1527 end line: 1550 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 55 unit: public void PrepareCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1670 end line: 1690 size: 20 LOC McCabe index: 5 number of parameters: 0 id: 56 unit: public OrganizationDetail FindOrganization() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 356 end line: 375 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 57 unit: public void RenewTokenIfRequired() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1710 end line: 1730 size: 19 LOC McCabe index: 6 number of parameters: 0 id: 58 unit: public static OrganizationServiceProxy GetOrganizationProxy() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 161 end line: 188 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 59 unit: protected virtual String GetServerAddress() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 908 end line: 929 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 60 unit: private AuthenticationProviderType RetrieveAuthenticationType() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1057 end line: 1072 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 61 unit: public static extern bool CredRead() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1383 end line: 1402 size: 16 LOC McCabe index: 1 number of parameters: 5 id: 62 unit: public static Credential ReadCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1447 end line: 1467 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 63 unit: private static T Deserialize() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 302 end line: 319 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 64 unit: public static String ConvertToUnsecureString() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 866 end line: 881 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: internal Credential() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1238 end line: 1252 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: private string ConvertToUnsecureString() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1280 end line: 1295 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: public static ClientCredentials LoadDeviceCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 210 end line: 227 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 68 unit: public DeviceRegistrationRequest() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 682 end line: 696 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 69 unit: protected virtual Boolean GetOrgType() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 935 end line: 950 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 70 unit: private SecureString ConvertToSecureString() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1302 end line: 1315 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 71 unit: public static ClientCredentials RegisterDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 178 end line: 191 size: 13 LOC McCabe index: 4 number of parameters: 4 id: 72 unit: private static LiveDevice GenerateDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 371 end line: 385 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 73 unit: private static string GenerateRandomString() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 467 end line: 485 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 74 unit: private string Decrypt() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 974 end line: 988 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 75 unit: private static LiveDevice ReadExistingDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 387 end line: 400 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: private static void WriteDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 402 end line: 414 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 77 unit: public static ErrorType GetErrorType() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/ErrorCodes.cs start line: 3203 end line: 3214 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: public static Credential ReadWindowsCredential() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1469 end line: 1479 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: public static SecureString ConvertToSecureString() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 888 end line: 898 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 80 unit: public EnvironmentConfiguration() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 497 end line: 507 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 81 unit: public Credential() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1254 end line: 1263 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 82 unit: public SecurityTokenResponse AuthenticateDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1696 end line: 1705 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 83 unit: public static ClientCredentials LoadOrRegisterDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 111 end line: 120 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 84 unit: private string Encrypt() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 963 end line: 972 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: public static String GetErrorMessage() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/ErrorCodes.cs start line: 3193 end line: 3201 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: public OrganizationDetailCollection DiscoverOrganizations() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 338 end line: 346 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: public void CleanUpNativeData() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1410 end line: 1417 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: public object MarshalNativeToManaged() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1429 end line: 1436 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: public AutoRefreshSecurityToken() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1657 end line: 1665 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: private static void Serialize() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 283 end line: 291 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 91 unit: private static T Deserialize() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 293 end line: 300 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: private static DeviceUserName GenerateDeviceUserName() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 458 end line: 465 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: public ClientCredentials ToClientCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 913 end line: 920 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: private void ThrowIfNoEncryption() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 922 end line: 928 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 95 unit: public static Uri GetCredentialTarget() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1355 end line: 1360 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: public static ICustomMarshaler GetInstance() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1439 end line: 1444 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 97 unit: public ManagedTokenDiscoveryServiceProxy() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1566 end line: 1571 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 98 unit: public ManagedTokenDiscoveryServiceProxy() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1573 end line: 1578 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: public ManagedTokenOrganizationServiceProxy() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1611 end line: 1616 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 100 unit: public ManagedTokenOrganizationServiceProxy() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1618 end line: 1623 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: private static FileInfo GetDeviceFile() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 321 end line: 326 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: public ManagedTokenDiscoveryServiceProxy() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1560 end line: 1564 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 103 unit: protected override void AuthenticateCore() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1585 end line: 1589 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 104 unit: protected override void ValidateAuthentication() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1591 end line: 1595 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 105 unit: public ManagedTokenOrganizationServiceProxy() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1605 end line: 1609 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: protected override void AuthenticateCore() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1630 end line: 1634 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 107 unit: protected override void ValidateAuthentication() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1636 end line: 1640 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 108 unit: public DeviceRegistrationFailedException() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 640 end line: 644 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 109 unit: protected virtual ClientCredentials GetDeviceCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1007 end line: 1010 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 110 unit: public int GetNativeDataSize() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1419 end line: 1422 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 111 unit: public IntPtr MarshalManagedToNative() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1424 end line: 1427 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: protected override SecurityTokenResponse AuthenticateDeviceCore() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1580 end line: 1583 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: protected override SecurityTokenResponse AuthenticateDeviceCore() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1625 end line: 1628 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: static DeviceIdManager() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 47 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 115 unit: public static ClientCredentials LoadOrRegisterDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 75 end line: 78 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: public static ClientCredentials LoadOrRegisterDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 85 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 117 unit: public static ClientCredentials LoadOrRegisterDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 97 end line: 100 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: public static ClientCredentials RegisterDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 126 end line: 129 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: public static ClientCredentials RegisterDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 136 end line: 139 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: public static ClientCredentials RegisterDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 150 end line: 153 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 121 unit: public static ClientCredentials RegisterDevice() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 162 end line: 165 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 122 unit: public static ClientCredentials LoadDeviceCredentials() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 197 end line: 200 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 123 unit: public static string DiscoverEnvironment() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 232 end line: 235 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: public DeviceRegistrationFailedException() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 600 end line: 603 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: public DeviceRegistrationFailedException() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 609 end line: 612 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: public DeviceRegistrationFailedException() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 619 end line: 622 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 127 unit: public DeviceRegistrationFailedException() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 629 end line: 632 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 128 unit: private DeviceRegistrationFailedException() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 651 end line: 654 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 129 unit: public override void GetObjectData() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 664 end line: 667 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 130 unit: public DeviceUserName() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 843 end line: 846 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: public void CleanUpManagedData() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/CrmServiceHelpers.cs start line: 1405 end line: 1408 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: public DeviceRegistrationRequest() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/DeviceIdManager.cs start line: 678 end line: 680 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: private ErrorCodes() file: apps/samplecode/automotive/apisamples/Microsoft.Dynamics.Automotive.Samples/helpercode/ErrorCodes.cs start line: 35 end line: 36 size: 2 LOC McCabe index: 1 number of parameters: 0