Thnks a lot Jehazen, this first link helped a lot, just one more question if somebody can help me ?
on the connection the username and password is the AD because this line:
credential.Windows.ClientCredential = CredentialCache.DefaultNetworkCredentials;
but i need to pass the username, domain and password on the code, on CRM 4.0 I used to use
NetWorkCredential how can I pass this to the OrganizationServiceProxy ? because this method dont overload a NetworkCredential
thanks a lot !